[Pkg-sysvinit-devel] Bug#383124: umountnfs.sh: Patch to also unmount filesystems on network block devices

Petter Reinholdtsen pere at hungry.com
Thu Sep 28 09:07:40 UTC 2006


[Andrew Pollock]
> Dammit. This is what I get for waiting so long to test it. No, this
> does not work, because you're parsing /proc/mounts, not /etc/fstab,
> so you don't get the _netdev option. It no workee.

Thanks for testing.  I suggest we solve this by letting umountnfs use
/etc/mtab, and umountfs use /proc/mounts.  I believe mtab will include
the _netdev option.  This should make sure all file systems are
umounted, and handle netdevices correctly too. Can you test this and
send a patch if it work?




More information about the Pkg-sysvinit-devel mailing list