aboutsummaryrefslogtreecommitdiff
path: root/arch-tmpfiles
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-07-25 14:58:57 +0200
committerTom Gundersen <teg@jklm.no>2011-07-26 21:21:31 +0200
commitb7432d25cba680c785269509245f394dfa6b9dd0 (patch)
tree7dd00f7583f188c74b321707a0d6290ecc8642a2 /arch-tmpfiles
parent370dd6573143fb9b9a7d368badbd3f2bb40ad6cf (diff)
downloadinitscripts-b7432d25cba680c785269509245f394dfa6b9dd0.tar.xz
shutdown: pivot into a shutdown ramfs
Assume that a shutdown executable has been created in /run/initramfs by either dracut or mkinitramfs. Setup /run/initramfs to be a new root and pivot into it. Making sure that nothing is using our old root anymore. In particular this means we have to reexec init in the new root and make sure stdio is using the new /dev/console. This is inspired by Harald Hoyers work for systemd as well as Thomas Bächlers deinitramfs. Signed-off-by: Tom Gundersen <teg@jklm.no>
Diffstat (limited to 'arch-tmpfiles')
0 files changed, 0 insertions, 0 deletions