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

Henrique de Moraes Holschuh hmh at debian.org
Sat Sep 23 19:08:27 UTC 2006


On Sat, 23 Sep 2006, Petter Reinholdtsen wrote:
> [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.

Time to patch mount, then.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



More information about the Pkg-sysvinit-devel mailing list