[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifupdown writes to /etc... a bug?

On Wed, Mar 12, 2003 at 10:47:45PM +1000, Anthony Towns wrote:
> On Wed, Mar 12, 2003 at 11:45:48AM +0000, Miquel van Smoorenburg wrote:
> > So, it would be better to mount /run automatically without an
> > /etc/fstab entry, since it's hard to say what that entry is.
> > Besides, for a ramdisk, you still need to mkfs a filesystem on
> > it before mounting it, so it's all special case code anyway.

> We are in a position where we can cheat, though. Since we don't
> automatically support read-only root partitions, we can just make /run
> be on the root fs, and assume that admins who've already demonstrated
> enough cleverness to cope with /etc/motd, /etc/network/ifstate,
> /lib/modules/*/modules.* and so forth can cope with adding an fstab
> entry for /run.

Not to mention that moving mtab to tmpfs to solve the read-only /etc
problem only introduces a new problem of initializing mtab with
information about already-mounted filesystems.  Perhaps this has already
been solved, but if not, I think Debian should punt on it for the time

Steve Langasek
postmodern programmer

Attachment: pgpMt5JO6njJ7.pgp
Description: PGP signature

Reply to: