aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2006-06-26Upgrade mdev to allow commands to be run on create/delete.Rob Landley
Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements of both.  It's been upgraded so that you can specify that a given command should run at create, at delete, or at both using different special characters (@, $, and * respectively).  It uses the system() method of running command lines which means you can use environment variables on the command line (it sets $MDEV to the name of the current device being created/deleted, which is useful if you matched it via regex), and the documentation warns that you need a /bin/sh to make that work, so you probably want to pick a default shell.
2006-06-25Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley
some of which are even from him. :)
2006-06-21Patch from Paul Fox to improve mount's error handling behavior, which I beatRob Landley
on a bit.
2006-06-21Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimesRob Landley
produce an error, due to a missing rc assignment.
2006-06-19Make some 64 bit warnings go away on x86-64.Rob Landley
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-06-16Remove warnings caused by #include <sys/mount.h> in platform.h. ApparentlyRob Landley
we redefine a lot of stuff from standard header files...
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-06-13Rewrite of dmesg, smaller and simpler.Rob Landley
2006-06-13Random cleanup of platform.h.Rob Landley
2006-06-13Work around a persistent uClibc bug, since 0.9.29 still hasn't shipped.Rob Landley
Poked to do this by Jason Schoon.
2006-06-13Patch from Denis Vlasenko, tweak error messages.Rob Landley
2006-06-13Minor size shrinkage.Rob Landley
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-06Whack the one last warning in make allbareconfig...Rob Landley
2006-06-03- use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
2006-06-03- No options should set the current system time.Bernhard Reutner-Fischer
Shaun Jackman writes: A bug introduced in svn 11946 broke rdate. It no longer sets the current system time when no options are specified. The options have the opposite sense from what one might think, and, oddly enough, -ps is intentionally a no-op. Quoth rdate(8) from the BSD System Manager's Manual: -p Do not set, just print the remote time -s Do not print the time.
2006-05-29Remove _() and N_() from platform.h. #define them as NOP macros in the twoRob Landley
files still using them. I didn't remove them from e2fsck.c to avoid stomping pending cleanup patches from Garrett, and I didn't bother to remove them from fdisk.c because that entire file needs to be rewritten from scratch.
2006-05-29Remove _().Rob Landley
2006-05-28Fix some warnings in allbareconfig.Rob Landley
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
2006-05-26- work around bug in gcc-3.4.x on ARMBernhard Reutner-Fischer
2006-05-26fix spelling mistakesMike Frysinger
2006-05-21Convert to a global struct, the way sed was. Now I have two, I can work outRob Landley
the infrastructure to merge global structs into a union...
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-19- single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer
- rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-10Shut up the warning "implicit declaration of strlen".Rob Landley
2006-05-08Fiddling with llist to make memory management easier. Specifically, theRob Landley
option to delete the contents of the list when we delete the list is a good thing.
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