]> git.ipfire.org Git - thirdparty/util-linux.git/commit
switch_root: handle /run and do not mount over existing mounts
authorHarald Hoyer <harald@redhat.com>
Thu, 20 Oct 2011 08:05:20 +0000 (10:05 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 20 Oct 2011 08:12:28 +0000 (10:12 +0200)
commit8c0e7bf4a365caa3bc68b807de27bc6a01d8974a
tree9277699f7947125ba76a8e48074580f3c67cd55e
parent7895e133ac5f26fb3b7ac5840e992bc9e655cfea
switch_root: handle /run and do not mount over existing mounts

Handle /run just like /dev, /sys and /proc

Do not mount move, if there is already something mounted on the
destination folder.

Signed-off-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/switch_root.c