summaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
AgeCommit message (Collapse)Author
2006-03-21Fix missing copyright and license notice.Rob Landley
2006-03-20Use lstat() instead of stat so /init being a symlink doesn't screw people up.Rob Landley
(And use it consistently, for size reasons.)
2006-02-14Fix off by one error. (I know I had a reason for doing that, but I have _no_Rob Landley
idea what it was...)
2006-01-25just whitespaceTim Riker
2005-12-20Fix chroot, leave console alone if -c not specified, and yank debug code.Rob Landley
(I still haven't set up a test environment to confirm this works...)
2005-10-27Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley
actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.)