chiark / gitweb /
main: corrected do_switch_root()
authorHarald Hoyer <harald@redhat.com>
Wed, 16 May 2012 12:22:39 +0000 (14:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 21 May 2012 16:45:10 +0000 (18:45 +0200)
commitf67cc036ba92a3c71acb664ed2d548de5827cf1f
tree4de0fa5277126ca206773e534a81829b7584608b
parent386da8589b4206b7fc5f5729908473edacbee013
main: corrected do_switch_root()

do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and
removes the old root recursively.
src/core/main.c
src/shared/util.c
src/shared/util.h