[Pkg-sysvinit-devel] Drop the mtab magic and just symlink or bindmount /etc/mtab to /lib/init/rw/mtab ?

Petter Reinholdtsen pere at hungry.com
Sat Sep 23 07:24:03 UTC 2006


[Henrique de Moraes Holschuh]
> None, as /lib/init/rw will not be an "optional" thing.

Initial testing show that this do not work.  If /etc/mtab is a
symlink, mount refuses to update it.  If it is a bind mount, mount is
unable to create /etc/mtab~ and refuses to update it.  I tried to bind
mount /etc/mtab~ and /etc/mtab.tmp too, but without much success.  I
am starting to suspect that storing mtab in /lib/init/rw/ is not going
to work without patching mount.

Friendly,
-- 
Petter Reinholdtsen



More information about the Pkg-sysvinit-devel mailing list