Rob Landley
22d26fc6ae
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
...
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-06-15 15:49:36 +00:00
Rob Landley
094b9f7e1d
Shut up the warning "implicit declaration of strlen".
2006-05-10 17:41:21 +00:00
Rob Landley
3ea05d3222
Fix missing copyright and license notice.
2006-03-21 18:20:40 +00:00
Rob Landley
e2b428cbb1
Use lstat() instead of stat so /init being a symlink doesn't screw people up.
...
(And use it consistently, for size reasons.)
2006-03-20 01:43:29 +00:00
Rob Landley
d05981eaf1
Fix off by one error. (I know I had a reason for doing that, but I have _no_
...
idea what it was...)
2006-02-14 07:33:45 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
Rob Landley
5d84c2398e
Fix chroot, leave console alone if -c not specified, and yank debug code.
...
(I still haven't set up a test environment to confirm this works...)
2005-12-20 17:25:51 +00:00
Rob Landley
0f34a821ab
Add a switch_root utility (like kconfig's utils/run_init.c, although not
...
actuall using any of that code). This is needed because pivot_root doesn't
work right under initramfs. (See the menuconfig help.)
2005-10-27 22:55:50 +00:00