aboutsummaryrefslogtreecommitdiff
path: root/util-linux/switch_root.c
AgeCommit message (Collapse)Author
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-15Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley
fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
2006-05-10Shut up the warning "implicit declaration of strlen".Rob Landley
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.)