I'm wondering what the FHS compliant mount points for internal harddrives and networkshares are? Many different tutorials are suggesting to mount them in subdirectories to /mnt
or /media
According to the FHS 3.0 (File Hierarchy Standard):
/media
: Mount point for removable media (This directory contains subdirectories which are used as mount points for removable media such as floppy disks, cdroms and zip disks.)/mnt
: Mount point for a temporarily mounted filesystem (This directory is provided so that the system administrator may temporarily mount a filesystem as needed. The content of this directory is a local issue and should not affect the manner in which any program is run)
I assume that those mount points could go to /home/foo/extdrive
/home/foo/nfsshare
for a single user system, but where would I mount them accessible for all users?
Update: FHS 3.0, Chapter 3.1, second "Rationale" paragraph
- new directory in
/
(ie/workspace
and/nfsshare
) There are several reasons why creating a new subdirectory of the root filesystem is prohibited: It demands space on a root partition which the system administrator may want kept small and simple for either performance or security reasons. It evades whatever discipline the system administrator may have set up for distributing standard file hierarchies across mountable volumes. Distributions should not create new directories in the root hierarchy without extremely careful consideration of the consequences including for application portability.
/var
is growing faster than expected, and so install disk 2 and mount it as/var
. Interesting qestion re: network shares, it's kind of the "anti-/srv
"!