bizdelnick

joined 1 year ago
[–] bizdelnick@lemmy.ml 1 points 2 months ago

Why do you think so?

[–] bizdelnick@lemmy.ml -4 points 2 months ago (6 children)

It is easier after you learn basics. Learning is not easy, but usage is.

[–] bizdelnick@lemmy.ml 13 points 2 months ago (2 children)

Every day in my case, except holidays.

[–] bizdelnick@lemmy.ml 35 points 2 months ago (23 children)

Vim (or emacs, or any other advanced text editor) is much easier to use than nano when you need to do something more complex than type couple of lines.

[–] bizdelnick@lemmy.ml 6 points 3 months ago (2 children)

What error you get exactly?

[–] bizdelnick@lemmy.ml 1 points 3 months ago

There are few fdisk options that work non-interactively, like -l (list partitions). It is impossible to create or delete partitions this way.

From the sfdisk man page:

Since version 2.26 sfdisk supports MBR (DOS), GPT, SUN and SGI disk labels

[–] bizdelnick@lemmy.ml 3 points 3 months ago (2 children)

fdisk is completely interactive, not suitable for scripting. sfdisk is a "scriptable fdisk".

[–] bizdelnick@lemmy.ml 2 points 4 months ago (1 children)

Technically, no. Until you want to mount something but find /mnt is busy or simply forget about this and mount something there, losing access to previously mounted stuff. The only problem is that you have to remember which mountpoint you use for particular filesystem, while the FHS is designed to avoid this and abstract from physical devices as much as possible.

[–] bizdelnick@lemmy.ml 2 points 4 months ago (1 children)

Why though?

The filesystem is organized to store data by its type, not by the physical storage. In DOS/Windows you stick to separate "disks", but not in Unix-like OSes. This approach is inconvenient in case of removable media, that's why /media exists. And /mnt is not suited for any particular purpose, just for the case when you need to manually mount some filesystem to perform occasional actions, that normally never happens.

Just media files, downloads, images , music kinda stuff.

That's what usually goes to /home/<username>. Maybe mount that device directly to /home? Or, if you want to extend your existent /home partition, use LVM or btrfs to join partitions from various drives. Or mount the partition to some subdirectory of /home/<username>, or even split it and mount its parts to /home/<username>/Downloads, /home/<username>/Movies etc. So you keep the logic of filesystem layout and don't need to remember where you saved some file (in /home/<username>/Downloads or in /whatever-mountpoint-you-use/downloads).

[–] bizdelnick@lemmy.ml 1 points 4 months ago (3 children)

/mnt is not for everything, it is a temporary mount point. For fixed drives that are constantly mounted you should use another location (that could be anywhere in the filesystem tree).

[–] bizdelnick@lemmy.ml -3 points 4 months ago (3 children)

Mount them where you need. Not /mnt and not /media. Maybe /var or its subdirectory, or /srv, or /opt depending on what kind of data you want to store on that partition.

view more: ‹ prev next ›