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: debian/initscripts/etc/init.d/umountfs
===================================================================
--- debian/initscripts/etc/init.d/umountfs      (revision 154)
+++ debian/initscripts/etc/init.d/umountfs      (working copy)
@@ -21,7 +21,7 @@
     log_action_begin_msg "Unmounting local filesystems"

     # List all mounts, deepest mount point first
-    LANG=C sort -r -k 2 /etc/mtab |
+    LANG=C sort -r -k 2 /proc/mounts |
     (
     DIRS=""
     while read DEV DIR TYPE REST ; do
Index: debian/initscripts/etc/init.d/umountnfs.sh
===================================================================
--- debian/initscripts/etc/init.d/umountnfs.sh  (revision 154)
+++ debian/initscripts/etc/init.d/umountnfs.sh  (working copy)
@@ -73,7 +73,7 @@
                then
                        umount $FLAGS $DIRS
                fi
-       ) </etc/mtab
+       ) </proc/mounts

        log_action_end_msg 0
 }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to