aboutsummaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Use lstat() instead of stat so /init being a symlink doesn't screw people up.Rob Landley2006-03-201-3/+3
| | | | (And use it consistently, for size reasons.)
* Fix off by one error. (I know I had a reason for doing that, but I have _no_Rob Landley2006-02-141-1/+1
| | | | idea what it was...)
* just whitespaceTim Riker2006-01-251-9/+9
|
* Fix chroot, leave console alone if -c not specified, and yank debug code.Rob Landley2005-12-201-11/+16
| | | | (I still haven't set up a test environment to confirm this works...)
* Add a switch_root utility (like kconfig's utils/run_init.c, although notRob Landley2005-10-271-0/+118
actuall using any of that code). This is needed because pivot_root doesn't work right under initramfs. (See the menuconfig help.)