FS#9436 - [FHS] Use /media and /mnt correctly
Attached to Project:
Arch Linux
Opened by Aaron Griffin (phrakture) - Saturday, 02 February 2008, 01:26 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 05 March 2008, 21:05 GMT
Opened by Aaron Griffin (phrakture) - Saturday, 02 February 2008, 01:26 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 05 March 2008, 21:05 GMT
|
Details
According to the FHS, /media is to be used for removable
media, including cdroms, floppy drives, and usb keys. /mnt
is to be used for other things (mounting non-removable
media). The filesystem package needs adjusting, and other
apps may need to as well.
Additionally, the FHS notes that /mnt should NOT be used by installation programs and that temporary directories should be used. Currently our installer uses /mnt. Ref: http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT |
This task depends upon
we should bump then filesystem package to 2008.02-1 with a clean /mnt directory and /media/{cd,dvd,floppy} then.
And change the standard fstab accordingly to this change.
Most people use HAL or some other things to automount media, and when user mounts manually - (s)he can create those dirs anyway.
anyway I remove those dirs and cleanup fstab from cd/dvd/floppy stuff manually.
Setup cleans it up anyway during installation and sets it correct.