]> git.ipfire.org Git - thirdparty/systemd.git/commit
shutdown: pivot_root to a tmpfs directory to properly umount root
authorHarald Hoyer <harald@redhat.com>
Thu, 5 May 2011 10:29:44 +0000 (12:29 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 4 Jul 2011 10:47:50 +0000 (12:47 +0200)
commit7cb1094acefff2a89dc842d84eb94a8afcac67fd
treed23ca84f51a642721d01668dc065edd83035aac7
parent31657718f5b7c39037f7b013c449100b9cf2dc21
shutdown: pivot_root to a tmpfs directory to properly umount root

check for /run/initramfs/shutdown
mount bind all needed dirs to /run/initramfs
pivot_root to /run/initramfs
execute /run/initramfs/shutdown
src/missing.h
src/shutdown.c