Re: Switching /etc/mtab to /proc/mounts and removing /lib/init/rw
On Tue, Dec 13, 2011 at 09:08:10PM +0000, brian m. carlson wrote:
> On Tue, Dec 13, 2011 at 08:54:14PM +0000, Roger Leigh wrote:
> > If you have a few minutes to spare, some testing of the packages
> > would be appreciated, so make sure there are no corner cases we've
> > missed. Upgrading initscripts should result in /etc/mtab being
> > switched to a symlink at the next reboot. /lib/init/rw will also
> > no longer mount a tmpfs on reboot, though the directory itself will
> > need to remain until wheezy+1, due to the upgrade ordering--packages
> > migrate after initscripts has run its postinst, requiring its
> > continued presence.
> > I'd be grateful for any feedback.
> You probably want to handle the case where /etc/mtab is a symlink to
> /proc/self/mounts as well, since it's equivalent, and I know some people
> (read: at least me) have already made that change.
It does--it will switch to /proc/mounts unless /etc/mtab is already
a symlink to /proc/mounts. It will therefore correct any symlinks
which point to other places as well as the usual case of it being a
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.