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
Task Type Bug Report
Category System
Status Closed
Assigned To Tobias Powalowski (tpowa)
Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Tobias Powalowski (tpowa)
Wednesday, 05 March 2008, 21:05 GMT
Reason for closing:  Fixed
Comment by Greg (dolby) - Saturday, 02 February 2008, 10:14 GMT Comment by Tobias Powalowski (tpowa) - Friday, 08 February 2008, 13:15 GMT
hey aaron would be /tmp/install fine for ya on ISO?
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.
Comment by Roman Kyrylych (Romashka) - Friday, 08 February 2008, 15:13 GMT
IMO /media can be left clean as well.
Most people use HAL or some other things to automount media, and when user mounts manually - (s)he can create those dirs anyway.
Comment by Greg (dolby) - Friday, 08 February 2008, 15:24 GMT
i dont use HAL. but despite what i do, shouldnt at least the directories provided by the default fstab be created by default at the very least?
Comment by Roman Kyrylych (Romashka) - Friday, 08 February 2008, 16:14 GMT
By directory removal I meant the fstab cleanup too, but oh well, that was just an opinion not a demand :),
anyway I remove those dirs and cleanup fstab from cd/dvd/floppy stuff manually.
Comment by Tobias Powalowski (tpowa) - Friday, 08 February 2008, 17:00 GMT
In my opinion the same dirs as in default fstab should be there.
Setup cleans it up anyway during installation and sets it correct.

Loading...