[arch-general] change in mount behaviour?
Heiko Baums
lists at baums-on-web.de
Fri Jan 27 21:39:18 EST 2012
Am Fri, 27 Jan 2012 19:41:54 -0600
schrieb C Anthony Risinger <anthony at xtfx.me>:
> On Fri, Jan 27, 2012 at 5:56 PM, Fons Adriaensen
> <fons at linuxaudio.org> wrote:
> >
> > Wouldn't most users associate /media with cd, dvd etc. ?
> > Seems like on odd name for what systemd uses it for.
>
> for as long as i remember anyway, the DE will often mount stuff there
> automatically, ergo it's not safe to put manual mount points there.
> /mnt is specifically reserved for admin, so /mnt/media is safe.
This is not true. If this is what some DEs are doing, than you should
file a bug report to the DE's upstream.
> under systemd, /media is a tmpfs.
The same for systemd.
There's a Linux Filesystem Hierarchy Standard which says that /media is
meant for removable media and /mnt is for temporarily mounted
filesystems. Whatever the difference between an optical media and a
temporary filesystem may be.
http://www.pathname.com/fhs/pub/fhs-2.3.html#MEDIAMOUNTPOINT
I know that Lennart Poettering doesn't care much about Linux standards
and likes to declare his non working crap as standard. But fortunately
he is not a standardization authority.
So if a software doesn't follow those FHS you should file a bug report
to upstream.
And yes, /media is supposed to contain subdirectories for cd, dvd, etc.
Nevertheless /media was also invented by SUSE in the past, because
originally those optical media was also meant to be mounted to
subdirectories of /mnt. Nevertheless meanwhile FHS was changed to
include /mnt as well as /media for whatever reasons.
Heiko
More information about the arch-general
mailing list