LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Where to mount partitions of other filesystems (https://www.linuxquestions.org/questions/linux-general-1/where-to-mount-partitions-of-other-filesystems-716917/)

SwissHeritage 04-04-2009 09:00 PM

Where to mount partitions of other filesystems
 
(edited) Can these posts be moved into the Files and mount points: best practices thread?


I have Slackware, Debian and XP on this laptop, and a Fat partition I created for them to share. I've always had doubts about where to mount partitions that are not part of the system I'm using. It looks to me like common practice to use the /media/ directory, but according to the standard that's for removable media. As I understand it, those partitions don't belong in the /mnt/ folder either. Some people say to put them in /usr/local/. Right now, I'm leaning in that direction. Where do you put yours, and why?

I found this in the Arch Linux Wiki:
Quote:

/media/ Mount points for removable media. CDROMs, DVD's, and USB sticks shall have an appropriate mount point under /media/. 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 removable 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. Therefore, Arch allocates /media as the mountpoint for removable media. On systems where more than one device exists for mounting a certain type of media, mount directories shall be created by appending a digit to the name of those available above starting with '0', but the unqualified name must also exist.
The "hal" (Hardware Abstraction Layer) daemon mounts removable media to /media as /media/<name_of_removable_filesystem>
So, one idea is to reserve /mnt/ as a temporary mount point without any subdirectories, which would exclude it from being used for other system partitions.

weibullguy 04-04-2009 09:30 PM

The only one that really makes sense to be mounting is the shared FAT partition. I have a partition dedicated to downloaded content, one dedicated to multimedia, and one as an NFS share among all my machines. I mount them at $HOME/downloads, $HOME/multimedia, and /cluster.

There's never been a standard written that was adhered to 100% and there likely never will be. Standards are minimum requirements anyway. Plus, the standard is silent on your issue.

SwissHeritage 04-05-2009 06:24 AM

Quote:

Originally Posted by weibullguy (Post 3498771)
The only one that really makes sense to be mounting is the shared FAT partition. I have a partition dedicated to downloaded content, one dedicated to multimedia, and one as an NFS share among all my machines. I mount them at $HOME/downloads, $HOME/multimedia, and /cluster.

There's never been a standard written that was adhered to 100% and there likely never will be. Standards are minimum requirements anyway. Plus, the standard is silent on your issue.

Thanks. That helps.

To the moderator: Can these posts be moved into the Files and mount points: best practices thread?


All times are GMT -5. The time now is 02:53 AM.