On Tue, 31 Jan 2012 19:36:58 +0100 Tom Gundersen <teg@jklm.no> wrote:
On Tue, Jan 31, 2012 at 7:17 PM, Leonid Isaev <lisaev@umail.iu.edu> wrote:
Or a bind-mount from /var/media or such... I wonder though shouldn't it be implemented in initscripts similar to /tmp? Because currently enabling read-only / will require adding a /media stanza to fstab.
It would be a reasonable thing to do, sure (mounting a tmpfs). If you post a patch to arch-projects we can discuss it :-)
It should be noted that initscripts does not mount anything to /tmp by default, so an fstab entry is needed for this too if you want ro root.
-t
Grr... sorry, I meant "filesystem" not "initscripts" (probably because I was playing with the latter ATM). I don't think it's the initscripts' (or systemd's for that matter) job to deal with these kinds of mounts. So I've put a request to bugtracker (FS#28205). -- Leonid Isaev GnuPG key ID: 164B5A6D Key fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D