[HEADS-UP] util-linux[-ng] and mtab
Karel Zak
kzak at redhat.com
Wed Jan 19 21:53:45 UTC 2011
On Wed, Jan 19, 2011 at 07:02:21PM +0100, Karel Zak wrote:
> On Wed, Jan 19, 2011 at 06:35:52PM +0100, Karel Zak wrote:
> >
> > I have pushed new util-linux into rawhide. The project has been
> > renamed from util-linux-ng back to util-linux.
> >
> > The util-linux v2.19-rc1 contains support for systems without
> > /etc/mtab (the file is replaced with symlink to /proc/mounts).
> > This feature is enabled by default on Fedora (due to systemd).
> >
> > If your system depends on regular mtab then you can remove the
> > symlink -- mount(8) still supports old mtab too.
>
> Note, it's possible that NFS umount/remount will not work in some
> cases, because not all necessary mount options are in /proc/mounts.
> I hope this issue will be fixed before F15 release.
I forgot one disadvantage -- for read-only bind mounts is necessary
to use "bind" mount options for the remount command.
systems with mtab:
mount --bind /foo /foo
mount -o remount,ro /foo
systems without mtab:
mount --bind /foo /foo
mount -o remount,bind,ro /foo
^^^^
Karel
--
Karel Zak <kzak at redhat.com>
http://karelzak.blogspot.com
More information about the devel
mailing list