On Sun, Oct 13, 2013 at 7:21 PM, Patrick Lauer <patr...@gentoo.org> wrote: > On 10/14/2013 03:32 AM, William Hubbs wrote: >> All, >> >> from what I'm seeing, we should look into converting /etc/mtab to a >> symlink to /proc/self/mounts [1]. >> >> Are there any remaining concerns about doing this? > > Apart from breaking umount -a and some other things? > None at all ;) > > (The breakage is visible e.g. with umount -a tmpfs, which used to be > quite useful if you had a few chroots with /var/tmp/portage as tmpfs and > wanted to reset them. Now it'll also punt random things like /run if > you're lucky - and in the past it knocked out the OpenRC state directory > reliably) >
I don't follow this: it seems like umount -a is supposed to unmount all filesystems. umount -a -t tmpfs would unmount all tmpfs filesystems. /run should be included in that set, even if mtab is a regular file.