LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-04-2009, 09:00 PM   #1
SwissHeritage
Member
 
Registered: Apr 2007
Distribution: Slackware 12.2, Debian 5.0, Ubuntu Intrepid Ibu
Posts: 39

Rep: Reputation: 16
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.

Last edited by SwissHeritage; 04-05-2009 at 06:19 AM. Reason: to request moving these posts into another thread
 
Old 04-04-2009, 09:30 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
Old 04-05-2009, 06:24 AM   #3
SwissHeritage
Member
 
Registered: Apr 2007
Distribution: Slackware 12.2, Debian 5.0, Ubuntu Intrepid Ibu
Posts: 39

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by weibullguy View Post
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about partitions and filesystems Cara25 Linux - Hardware 3 12-08-2006 06:37 PM
changing partitions filesystems and mounting them? dr_zayus69 Linux - Hardware 7 12-28-2004 07:22 PM
Does FreeBSD support existing partitions and ext3 filesystems? GAVollink *BSD 6 01-21-2004 08:51 PM
filesystems & shared partitions bukowski Linux - Newbie 1 11-15-2003 12:44 PM
Question on filesystems and partitions TPupAZ Linux - Software 6 10-02-2003 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration