Here is the /etc/init.d/umountroot file.

The main trick to properly unmounting aufs root is this:

mount -n -o remount,noxino / || echo "Remount noxino / failed: $?"
# This next fails, but over-all, things work, so leaving it in in case
# it has some partial benefit.
mount -n -o remount,mod:/cow=ro / || echo "Remount /cow(ro) failed: $?"
mount -n -o remount,ro /cow || echo "Remount /cow (ro) failed: $?"
mount -n -o remount,ro /

** Attachment added: "Cleanly unmount aufs / and /cow"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/125702/+attachment/3151378/+files/umountroot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/125702

Title:
  casper-rw fs not cleanly unmounted on persistent live USB shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/125702/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to