View Full Version : Why change the mountpoints?
stefan_tech
22nd October 2004, 02:19 PM
Hi, I just installed FC3test3 and pretty happy with it. I do have one minor question though... Why change the mountpoints?
/mnt is empty
Now the CD and floppy are in /media
The RH add/remove package thing didn't even work until I recreated the old (ahem, proper...) /mnt/cdrom mountpoint. Do the fedora devs know this?
I know its a simple stupid thing. It takes five seconds to make directories and update fstab; But if it's not broke why fix it?
Thanks for any insight!
kosmosik
22nd October 2004, 02:58 PM
AFAIR /media is part of new standard to make Linux more desktop friendly. /mnt is quite cryptic... on my systems I don'r use /mnt and /home - I have /misc directory and autofs for such things like:
/misc/media/cdrom
/misc/media/floppy
/misc/media/usb
/misc/media/firewire
/misc/nfs/kosmosik
/misc/nfs/gandalf
/misc/smb/kosmosik
/misc/smb/gandalf
/misc/storage
/misc/storage/users (which is my homes)
etc.
Jman
22nd October 2004, 10:43 PM
It is generally accepted that /media is the logical place to put all removable media. This comes from the filesystem hierarchy standard (http://www.d-axel.dk/pub/documentation/Linux/fhs.txt), specifically:
/media : Mount point for removeable media
Purpose
This directory contains subdirectories which are used as mount points for
removeable media such as floppy disks, cdroms and zip disks.
Rationale: 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.
-------------------------------------------------------------------------------
Specific Options
The following directories, or symbolic links to directories, must be in /media,
if the corresponding subsystem is installed:
Directory Description
floppy Floppy drive (optional)
cdrom CD-ROM drive (optional)
cdrecorder CD writer (optional)
zip Zip drive (optional)
On systems where more than one device exists for mounting a certain type of
media, mount directories can be created by appending a digit to the name of
those available above starting with '0', but the unqualified name must also
exist.
Shadow Skill
23rd October 2004, 06:01 AM
Makes sense to me although there could be problems if the eventual fc3 release doesn't correctly rename the folder and the corresponding fstab entries in the event of an upgrade...[A fresh install shouldn't be nessecary after the teting stage.
Saskman
23rd October 2004, 07:05 AM
Hi, I just installed FC3test3 and pretty happy with it. I do have one minor question though... Why change the mountpoints?
/mnt is empty
Now the CD and floppy are in /media
I have the opposite problem my media is empty and The RH add/remove package thing didn't even work I ended up installing a couple of packages with RPM.... from the command line.
This is better????
:confused:
Varkk
23rd October 2004, 01:25 PM
I guess an easy temporary solution would be to create a soft link from /mnt to /media. That way old apps which may look in /mnt/blah will still work.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.