aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2006-03-20Patch from tito, acked by Bernhard Fischer.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-03-18- explain what magic numbers we're using here.Bernhard Reutner-Fischer
2006-03-18- whitespace cleanup (and also check against the const first and only then lookBernhard Reutner-Fischer
at bb_applet_name[1])
2006-03-18More fixes. Type "auto" should mean unspecified from fstab as well as theRob Landley
command line, initialize singlemount's rc to an error value so it doesn't think it succeeded when it didn't, use absolute path when associating a loop device (and the previous FEATURE_CLEAN_UP logic related to that was freeing the wrong thing), move reading of /proc/filesystems to where we can re-read it (when it's empty) for every entry on a "mount -a" so that when /proc is mounted as the first entry, the later filesystems can autodetect filesystem type.
2006-03-17Bug fix: umount wasn't detaching loop devices unless mtab support was enabled.Rob Landley
Made some whitespace cleanups while I was there.
2006-03-14Missed one.Rob Landley
2006-03-14The new, new mount rewrite. (Mount double prime?) Still being debugged, butRob Landley
the new infrastructure is reentrant so in theory it's capable of handling mount -a sanely. It can also re-use existing flags with remount, handle -t auto, mount -a -t, and several smaller bugfixes.
2006-03-14Tito unified fdflush and freeramdisk. I tweaked the result a bit.Rob Landley
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-13Patch from Denis Vlasenko to add xstat() and use it.Rob Landley
2006-03-10Patch from Denis Vlasenko turning static const int (which gets emitted intoRob Landley
the busybox binary) into enums (which don't).
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-28more security: don't start shell code from argv"Vladimir N. Oleynik"
2006-02-25remove duplicate license noticeMike Frysinger
2006-02-25strip out unneeded commentsMike Frysinger
2006-02-25fdisk unmaintained now :("Vladimir N. Oleynik"
2006-02-25Another clean-up patch from Garrett.Rob Landley
2006-02-25Minor cleanup from Garrett Kajmowicz.Rob Landley
2006-02-24Cleanup from Denis Vlasenko.Rob Landley
2006-02-23- put NLS stuff in one central place to avoid redefines.Bernhard Reutner-Fischer
Fixes warnings about: fdisk.c:45:1: warning: "_" redefined nfsmount.c:121:1: warning: "_" redefined nfsmount.c:122:1: warning: "N_" redefined interface.c:84:1: warning: "_" redefined
2006-02-21Don't build directory libraries unless we're building an applet that needs it.Rob Landley
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-21Create /dev/root symlink pointing to real root device, if any.Rob Landley
2006-02-21add setarch/linux32/linux64 appletMike Frysinger
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-02-08Fix umount so it works if there's no /etc/mtab or /proc/mounts, makeRob Landley
umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete defconfig file (which was supposed to be part of the previous checkin).
2006-02-07add back in path nulling after calling find_dev() since it is needed for now ...Mike Frysinger
2006-02-03cleanup style ... just because you use less spaces doesnt mean the resulting ↵Mike Frysinger
code is smaller
2006-02-03shrink the code a bitMike Frysinger
2006-02-03gavinl writes in Bug 661:Mike Frysinger
if read() file return less than 1, we should close the fd and then goto end.
2006-02-02alphabetical order and fix mdev comments about echo>/sys vs echo>/proc/sysMike Frysinger
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-02-01remode warning: const static mix"Vladimir N. Oleynik"
2006-01-31- bzero -> memsetBernhard Reutner-Fischer
text data bss dec hex filename 1652855 14444 1215616 2882915 2bfd63 busybox.oorig.gcc-3.3 1652823 14444 1215616 2882883 2bfd43 busybox.gcc-3.3 1603655 14412 1215552 2833619 2b3cd3 busybox.oorig.gcc-3.4 1603655 14412 1215552 2833619 2b3cd3 busybox.gcc-3.4 1609755 14508 1215744 2840007 2b55c7 busybox.oorig.gcc-4.0 1609755 14508 1215744 2840007 2b55c7 busybox.gcc-4.0 1590495 13516 1215392 2819403 2b054b busybox.oorig.gcc-4.1-HEAD 1590495 13516 1215392 2819403 2b054b busybox.gcc-4.1-HEAD 1589079 13036 1213248 2815363 2af583 busybox.oorig.gcc-4.2-HEAD 1589079 13036 1213248 2815363 2af583 busybox.gcc-4.2-HEAD
2006-01-31- add and use ATTRIBUTE_ALIGNED(num_bytes)Bernhard Reutner-Fischer
- remove unused parameter pindex from fdisk.c, xbsd_initlabel()
2006-01-30hopefully the last of the annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2006-01-22There was a missing ! on strcmp (despite the fact it worked in my testing,Rob Landley
I have no idea _how_), and a simpler fix for the extra \n problem. I tested this and it worked for me, for what that's worth...
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-13- revert last change for now..Bernhard Reutner-Fischer
2006-01-13this applet needlessly big! TODO: bb_getopt_ulflags()Bernhard Reutner-Fischer
- use atol for the offset, which is always in bytes. Small step in eventually dropping bb_xparse_number().
2006-01-12Frank Sorenson added hotplug support to mdev. (I tweaked it a bit. NeedRob Landley
to come up with a test suite for all the stuff that requires root access. Something involving User Mode Linux or QEMU, probably...)
2006-01-12The major:minor read from dev ends with \n, need to trim that.Rob Landley
2006-01-10With -a, the jump to mount_it_now can skip the initialization of f, andRob Landley
if we don't zero it after closing it we re-close a filehandle that isn't open, and since this is a file _pointer_ it segfaults on a double free. Yeah, subtle bug. I need to break this out into separate functions if I can figure out how to avoid making the code larger while doing so. Part of the general -a and -o remount work I need to do, but that's after 1.1.0...
2006-01-10Both atime and diratime should switch _off_ the corresponding no* flag.Rob Landley
2006-01-04use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)Mike Frysinger