[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
Fri Sep 22 19:59:43 UTC 2006


On Fri, 22 Sep 2006, Petter Reinholdtsen wrote:
> At the moment, the boot system contain much code to work around the
> fact that mtab isn't writable when file systems are mounted early in
> the boot.  I just changed mountkernfs.sh to mount /lib/init/rw/ as the
> first thing.  With this in place, it should be safe to let /etc/mtab
> be a symlink to for example /lib/init/rw/mtab, and use mount normally
> instead of with the -n option.  Any objections to doing this?

None, as /lib/init/rw will not be an "optional" thing.

-- 
  "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