-
Committer:
Surbhi Palande
-
Date:
2011-06-27 12:06:15 UTC
-
Revision ID:
surbhi.palande@canonical.com-20110627120615-s2i8mfuee25uvw1x
Initial support to handle a new initctl command: pivot.
Usage: initctl pivot <ROOTFS> <INIT>" "<args>"
This command can be used to change the root filesystem from a initramfs
based rootfs to the new requested <ROOTFS>. On successfully changing the root
filesystem the new <INIT> shall be executed. On failure in handling this
command a pivot-failed event is emitted. This command works as intended
only when fired from initramfs. When fired from any other filesystem, this
command has no effect other than the emission of the "pivot-failed" event.