]> err.no Git - util-linux/commit
switch_root: new command
authorKarel Zak <kzak@redhat.com>
Tue, 9 Jun 2009 07:58:46 +0000 (09:58 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Jun 2009 19:30:46 +0000 (21:30 +0200)
commit711ea7307d54caa74aa89fc7e8614236e3721f1c
treef35a10109adc346479e2c29e07902a06b414f5a6
parente9799b6d2909adf70e040d3750b6a42fa2e5254d
switch_root: new command

Copied from Dracut project:
git://dracut.git.sourceforge.net/gitroot/dracut

switch_root history in dracut.git repository:

$ git shortlog switch_root.c
Harald Hoyer (5):
      replace switch_root shell script with binary
      add \n to switch_root
      use switch_root code from http://pjones.fedorapeople.org/mkstart/usr/lib/mkstart/switchroot.c
      mount move instead of umount and fix the search for fallback inits
      setsid() and set controlling terminal for real /sbin/init

Victor Lowther (2):
      Simplify switch_root.c a bit
      Remove all files on the initramfs before switching root

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
AUTHORS
po/POTFILES.in
sys-utils/.gitignore
sys-utils/Makefile.am
sys-utils/switch_root.c [new file with mode: 0644]