When something goes awry with mounting a file with /usr/sbin/filemnt, the /mnt/+..+..+.. entry is left there - forcing another run of /usr/sbin/filemnt to remove it-
To redeem:
Patch /usr/sbin/filemnt with (older filemnt, like in slacko-5.3)
Code: Select all
--- filemnt_org 2012-11-05 23:03:21.000000000 +0100
+++ filemnt 2012-12-01 23:08:31.000000000 +0100
@@ -133,6 +133,8 @@
# yaf-splash -timeout 6 -font "8x16" -outline 0 -margin 4 -bg green -text "SUCCESS! Click $imgFileBASE icon again to unmount it" & #BK
# /usr/X11R7/bin/yaf-splash -timeout 6 -font "8x16" -outline 0 -margin 4 -bg green -text "SUCCESS! Click $imgFileBASE icon again to unmount it" & #BK
yaf-splash -timeout 6 -bg green -text "SUCCESS! Click $imgFileBASE icon again to unmount it" & #BK
+ else # MHHP 121201
+ rmdir $MntPt # /MHHP 121201
fi
else ### file's mounted, unmount it
Code: Select all
--- filemnt_org 2012-11-05 23:03:21.000000000 +0100
+++ filemnt 2012-12-01 23:08:31.000000000 +0100
@@ -193,6 +193,8 @@
# yaf-splash -timeout 6 -font "8x16" -outline 0 -margin 4 -bg green -text "SUCCESS! Click $imgFileBASE icon again to unmount it" & #BK
# /usr/X11R7/bin/yaf-splash -timeout 6 -font "8x16" -outline 0 -margin 4 -bg green -text "SUCCESS! Click $imgFileBASE icon again to unmount it" & #BK
yaf-splash -timeout 6 -bg green -text "SUCCESS! Click $imgFileBASE icon again to unmount it" & #BK
+ else # MHHP 121201
+ rmdir $MntPt # /MHHP 121201
fi
else ### file's mounted, unmount it
Yes, the two patches above are identical - only difference is the line-numbers - patch (even with -F fuzziness set large (like 300)) mis-patches the newer filemnt when using the diff from the older filemnt .
Anyway, / MHHP