]] Gustavo Sverzut Barbieri 

> On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen <tfh...@err.no> wrote:
> >
> > Hi,
> >
> > why is /media a tmpfs?  I think that violates user expectations that
> > /media will be persistent across reboots, in particular any directories
> > created and such.
> 
> It is expected that /media will contain directories for mountpoints,
> mostly created automatically based on media name.

That's not what the FHS says, though.  It just says it's for «removable
media», which can be more or less anything those days, including network
mounts which you use with automount.

> Then it makes sense to make it volatile and allows / to be read-only.

If you want / to be read only, make it a symlink into /run/media and
have a tmpfiles.d snippet that enables it?

I think removing directories from /media on reboot is violating the
principle of least surprise.

Cheers,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to