As suggested by Colin Watson, a better way to skip mountpoints in
umountfs is using the following code:
do_stop () {
exec 9<&0 < <(sed -n '/^\/[^ ]* \/ /,$p' /proc/mounts)
REG_MTPTS=""
TMPFS_MTPTS=""
while read DEV MTPT FSTYPE REST;
do
echo "Processing $DEV $MTPT"
done
exec 0<&9 9<&-
}
--
umountfs must check whether a mountpoint contains a loopmounted root file
https://bugs.launchpad.net/bugs/151579
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs