Comment 5 for bug 1931027

Revision history for this message
Matthew Wilker (mwilker) wrote :

I would very much appreciate this being fixed, as I would like to be able to remove overlayfs whiteouts from within a live Ubuntu environment, as well as ease finding large files wasting RAM in the tmpfs mount. The linked commit message says "/root/cow did not exist, and because /cow is tmpfs, one cannot actually move it across." However, I'm convinced that the second portion of is not actually true. If I boot a Ubuntu live USB with break=init in the command line to get to an initrd shell, I can create the /root/cow directory manually and move the /cow mount there with no problems, after which I can exit the shell and Ubuntu boots as normal, with /cow exposed properly. Would it suffice to mkdir -p this directory in casper before doing the mount -o move?