p.H wrote:Proinsias wrote:I have a storage partition mount at /mnt/storage with /etc/fstab]
/mnt is not intended to be used for permanent mounts, nor to contain subdirectories. See the FHS.
I looked in to this a little 4 or 5yrs ago when initially looking to have an internal hdd mounted as a storage and found little in the way of recommendation in the FHS for this scenario. Asking some questions on IRC channels and looking at similar questions on stackexchange led me to opt for /mnt.
http://tldp.org/LDP/Linux-Filesystem-Hi ... l/mnt.html
This is a generic mount point under which you mount your filesystems or devices. Mounting is the process by which you make a filesystem available to the system. After mounting your files will be accessible under the mount-point. This directory usually contains mount points or sub-directories where you mount your floppy and your CD. You can also create additional mount-points here if you wish. Standard mount points would include /mnt/cdrom and /mnt/floppy. There is no limitation to creating a mount-point anywhere on your system but by convention and for sheer practicality do not litter your file system with mount-points. It should be noted that some distributions like Debian allocate /floppy and /cdrom as mount points while Redhat and Mandrake puts them in /mnt/floppy and /mnt/cdrom respectively.
This seems to tie in with my usage over the past few years. A space which contains mount points and subdirectories whilst not littering the file system.
From the same link /media provides a little more insight regarding the older tradition but no real solution for non-removable or permanent mounts.
http://tldp.org/LDP/Linux-Filesystem-Hi ... media.html
The motivation for the creation of this directory has been that historically
there have been a number of other different places used to mount removeable
media such as /cdrom, /mnt or /mnt/cdrom. Placing the mount points for all
removeable media directly in the root directory would potentially result in
a large number of extra directories in /. Although the use of subdirectories
in /mnt as a mount point has recently been common, it conflicts with a much
older tradition of using /mnt directly as a temporary mount point.
Whatever the automount feature is on Debian, and derivatives, it seems keen to mount these partitions on /media which doesn't really fit either.
One precaution is when using installer scripts on the main system with /mnt/blahblah mounted as they may expect free use of /mnt.....but I tend to tread carefully with any installers, especially outwith a live environment.
Curious about any other solutions to this.