Actually, it would be simpler still to add the /host directory to the set of excluded mount points at the start of the do loop because it's hardcoded in initrd as the mount point for the original root filesystem in the loopback file system whenever you specify the loop install boot option. It can't really be used for any other purpose so I'm not sure it's worth checking /proc/cmdline for the loop install boot option. What do you think?
-- 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 subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs