1 Answer
1

subdirectories which are used as mount points for
removeable media such as floppy disks, cdroms and zip disks.

and /mnt is

provided so that the system administrator may temporarily mount a filesystem as needed.

I often find it convenient to have a temporary mounting point /mnt available, and therefore I don't create any sub-directories or such there.

Internal drives are perhaps not to be considered "removable", but since /media can hold a bit of everything concerning the mounting department, I use that for internal drives as well.

All of the LFS are just common recommendations and perhaps best practices, so whatever suits you is fine, within reasonable bounds. Personally it suits me best to use /mnt for very temporary mounts (loopback disc images, foreign USB drives) and /media for more stable mounts.

Since extra disks today often in practice holds just "media" (movies/music/etc), I find it quite mnemonic as well :-) .

1. /DriveName

Placing the mount points for all removeable media directly in the root directory would potentially result in a large number of extra directories in /.

, which is implied to be something that should be avoided.

2. /mnt/DriveName

See earlier discussion.

3. /Volumes

Very un-Linux-y in my eyes, but of course it works.

4. "Any path you like"

In practice "yes", but why would one not like to have them mounted in an organized manner?

Regarding mount names, I would also suggest to at least avoid naming them e.g. /media/sdb1 and so on, since this is not really a partition specific parameter (as UUID already addresses). Personally, I use a combination of a personally assigned ID number and the partition size, such as /media/5-2000. The partition specific unique ID enables me to tab complete by a single number after /media/. But this is all discussion on very individual preferences, so I'll stop here.

Oh, media... Forgot about that ) Yes, your solution seems to be pretty reasonable. I'll accept it as an answer if no one has it beaten any time soon. Thanks!
–
Nikita VolkovApr 26 '12 at 15:02

There's a bit of a problem. The partitions mounted to the /media/... path get listed in the unmountable list in Nautilus. I think that's because of /media/... being implied to be used for temporary mounts only. So this solution opens other issues, sigh.
–
Nikita VolkovApr 26 '12 at 17:08

@mojojojo: I don't use Nautilus, but are you sure it looks for directories in /media and not just mounted partitions similar to the df output? Also, what is the problem with the disks appearing in this "unmountable list"? (and "unmountable" sounds like "impossible to mount", but I guess you mean "possible to umount", which disks like these are). In a way, I find that to be very correct, since these disks are supposed to be possible to umount - they should not have any system files on them and so on. In that case that partition should be mounted as /usr or the like.
–
Daniel AnderssonApr 27 '12 at 6:01

As I said before the point of this operation was to make those partitions mounted permanently. This would imply that symlinking to paths on them would be safe and stuff. I don't want to unmount them ever. Think of that as if you had a partition mounted to say a /home folder - would you want it to be possible to unmount? Now I have a lot of those partitions and when they appear in the same lists as temporarily inserted flash drives, they firstly become easy to unmount by accident and secondly make working with those flash drives harder. Btw, Ubuntu also displays those partitions in launcher.
–
Nikita VolkovApr 27 '12 at 12:01

@mojojojo: But is this really dependent on them being mounted in /mount? Doesn't Nautilus, etc. just list all mounted drives? Anyway, it's more of a privilege problem than anything else: specify that only root is allowed to mount/unmount (isn't this the default?) and you won't do it by mistake, even if the cat walks on the keyboard.
–
Daniel AnderssonApr 27 '12 at 12:11