]> 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 10:27:35 +0000 (12:27 +0200)
commitacb03ad46a0f5160fe7a1c9d9ec09c35494d3051
treec2e770cf10e8a1d10ddbafa33d4e88ca3e4ada88
parent918e4271252ac49cf2d9f8ab56a55ba4dd74b583
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