apmd and other archs

Avery Pennarun apenwarr at worldvisions.ca
Thu Nov 23 22:31:08 EST 2000


On Thu, Nov 23, 2000 at 12:15:32PM +0100, Michael Schmitz wrote:

> Re: mounting /etc readonly: how do you handle /etc/mtab in that case? :-)

Symlink it to /proc/mounts, of course. :)

/etc/mtab has always been evil, and not just because it's in the wrong
directory.  It's about equivalent to the "route" or "ipchains" commands
keeping track of what _they_ thought the kernel settings were, and then if
you tried to list the routes or firewall rules, they would just cat the
file.  Yuck.

Have fun,

Avery

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list