If you understand you correctly, you want to replace /etc/mtab with
/proc/mounts for umountsfs and umountnfs.sh. Here is an untested
patch to do this change. Please test it, and let me know if it solves
your problem. If it work, this bug should be tagged 'patch'.
Index:
Petter Reinholdtsen wrote:
-LANG=C sort -r -k 2 /etc/mtab |
+LANG=C sort -r -k 2 /proc/mounts |
Is it not necessary to unmount bind mounts too?
--
Thomas Hood
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
On Sat, Nov 19, 2005 at 11:17:36PM +0100, Thomas Hood wrote:
Petter Reinholdtsen wrote:
-LANG=C sort -r -k 2 /etc/mtab |
+LANG=C sort -r -k 2 /proc/mounts |
Is it not necessary to unmount bind mounts too?
Bind mounts will show up in both /etc/mtab and /proc/mounts. Rbind
mounts
Package: initscripts
Version: 2.86.ds1-4
Severity: normal
/etc/mtab isn't a reliable way to find out what is currently mounted. Not
only might it contain stale entries, but also see the bug I just filed on
mount, where it fails to contain sub-mounts produced by mount --rbind.
As a result, if you
4 matches
Mail list logo