aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2006-05-08Shrink the code about 50 bytes, allocate less run-time memory, and add aRob Landley
comment that null terminating the string we sscanf() shouldn't be required since the kernel adds \n to the end of it and sscanf will stop there.
2006-05-08More busting on legacy mtab support in the help text.Rob Landley
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-05-05Migrate endianness macros.Rob Landley
2006-05-05Patch from Jason Schoon to make mount -a not abort on the first failure.Rob Landley
2006-05-03Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.)Rob Landley
2006-04-29Patches from Denis Vlasenko to rework "current_name" handling and removeRob Landley
print_current_name().
2006-04-29Patch from Denis Vlasenko:Rob Landley
* Do not initialize globals to 0, it is done automatically * unsigned short -> uint16_t, unsigned int -> uint32_t where appropriate (did it ever work on Alphas?) * triple sync() is silly - removed * check_zone_nr uses check_zone_nr2 now * remove trailing periods from messages, uppercase first letter
2006-04-29Patch from Denis Vlasenko:Rob Landley
ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8)
2006-04-21Jason Schoon writes: This makes the case where LFS is not defined, but fdisk ↵Mike Frysinger
is configured with large disk support use the pretty build rules.
2006-04-17Robert Eggers noticed that nfsmount would sometimes incorrectly return success.Rob Landley
2006-04-16use memmove() instead of bcopy()Mike Frysinger
2006-04-13Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley
to do it in Config.in.
2006-04-13- patch from Denis Vlasenko to add and use bb_xopen3()Bernhard Reutner-Fischer
2006-04-12- patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer
bb_xopen some more while at it. Also use shorter boilerplate while at it.
2006-04-05Kumar spotted another bug: if we autodetect nfs and they haven't specified theRob Landley
fstype, it should be set to nfs.
2006-04-04You'd think there'd be a compiler warning for "pointless if", wouldn't you?Rob Landley
2006-04-03- do away with useless fwd-decls, redundant bb_printf calls, silence warningBernhard Reutner-Fischer
about comparing signed and unsigned and make stuff static. text data bss dec hex filename 6944 0 0 6944 1b20 util-linux/ipcs.o.oorig 6509 0 0 6509 196d util-linux/ipcs.o TODO: bb_getopt_ulflags, and further simplifications
2006-04-01Bug spotted by Kumar Gala. Hopefully this fixes it...Rob Landley
2006-03-31- use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:Bernhard Reutner-Fischer
text data bss dec hex filename 1307 0 0 1307 51b util-linux/hwclock.o.oorig 1255 0 0 1255 4e7 util-linux/hwclock.o
2006-03-29- shrink mkswap and make v0 support optional. Thanks also to Tito for his ideas.Bernhard Reutner-Fischer
http://busybox.net/lists/busybox/2006-March/019326.html 2137 8 28 2173 87d util-linux/mkswap.o.orig 1890 8 28 1926 786 util-linux/mkswap.o.v0+v1 1560 4 28 1592 638 util-linux/mkswap.o.v1
2006-03-29- shrink dmesg a bit.Bernhard Reutner-Fischer
http://busybox.net/lists/busybox/2006-March/019477.html
2006-03-29Kumar Gala tracked down a problem with NFS mounting. This is a different fixRob Landley
from his, but to the same problem.
2006-03-28Bernhard Fischer spotted that we shouldn't free fstype if we didn't allocateRob Landley
it.
2006-03-26Robert P Day removed some commented out code.Rob Landley
2006-03-24- make sure that we see freeramdisk only onceBernhard Reutner-Fischer
2006-03-23dont printf arguments given by user for security sanityMike Frysinger
2006-03-21Fix missing copyright and license notice.Rob Landley
2006-03-20Remove unneeded entries.Rob Landley
2006-03-20whitespace cleanupEric Andersen
2006-03-20Fix some obvious compile problems. Make the -f' fakeIt option actually work.Eric Andersen
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