Am 06.07.2010 20:02, schrieb Gerardo Exequiel Pozzi:
the other fix a directory that is unreacheable outside initramfs (is not needed but fixed anyway).
There's something I've been meaning to do for a while, but my time is very short recently. I'm telling you this, because I have the feeling if I do, there'll be a patch for it tomorrow :) I don't want to leave dangling mounts in initramfs that are invisible from the system. This would involve the following: 1) Don't bind /bootmnt into the root, but mount --move it there. 2) Don't bind _mnt_bind file systems into the root, but also mount --move (or mount them there directly) 3) After mounting, mount --move all aufs branches into a directory in the root. This way, nothing will be left in rootfs and invisible for us. I don't know a good name for a directory, so I'll stick to /bootmnt. A layout could be like: /bootmnt/ /bootmnt/image (move the image here) /bootmnt/isomounts /bootmnt/isomounts/loop0 (move /mnt/loop0 here) /bootmnt/isomounts/loop1 etc. What do you think?