summaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* New mkswap. Small and simple. Might even work. :)Rob Landley2006-07-161-380/+29
|
* Fix three embarassing thinkos in the new dmesg.c:Rob Landley2006-07-061-3/+3
| | | | | | 1) the c argument shouldn't have had a : after that, dunno how that got there. 2) the xgetlarg for level was using size 3) because xgetlarg's error message _SUCKS_ (it does a show_usage() rather than giving any specific info about the range that was violated) I dropped the range down to 2 bytes. (Which works fine, I dunno why we were nit-picking about that...)
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-0211-3/+13
|
* Remove "#if 0" content."Robert P. J. Day"2006-07-012-32/+0
|
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-1/+1
|
* fix from Kolbjørn Barmen for building for m68k targetsMike Frysinger2006-06-301-1/+1
|
* Upgrade mdev to allow commands to be run on create/delete.Rob Landley2006-06-262-97/+116
| | | | | | | | | | | 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.
* Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley2006-06-251-1/+1
| | | | some of which are even from him. :)
* Patch from Paul Fox to improve mount's error handling behavior, which I beatRob Landley2006-06-211-21/+16
| | | | on a bit.
* Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimesRob Landley2006-06-211-1/+2
| | | | produce an error, due to a missing rc assignment.
* Make some 64 bit warnings go away on x86-64.Rob Landley2006-06-192-11/+3
|
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-181-46/+3
| | | | that and callers wind up typecasting it back.
* Remove warnings caused by #include <sys/mount.h> in platform.h. ApparentlyRob Landley2006-06-164-19/+1
| | | | we redefine a lot of stuff from standard header files...
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-156-45/+6
| | | | | | 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.)
* Rewrite of dmesg, smaller and simpler.Rob Landley2006-06-131-70/+25
|
* Random cleanup of platform.h.Rob Landley2006-06-131-6/+0
|
* Work around a persistent uClibc bug, since 0.9.29 still hasn't shipped.Rob Landley2006-06-131-5/+6
| | | | Poked to do this by Jason Schoon.
* Patch from Denis Vlasenko, tweak error messages.Rob Landley2006-06-131-52/+50
|
* Minor size shrinkage.Rob Landley2006-06-131-4/+2
|
* - reuse strings and messages. Saves about 600BBernhard Reutner-Fischer2006-06-071-4/+6
|
* Whack the one last warning in make allbareconfig...Rob Landley2006-06-061-1/+1
|
* - use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer2006-06-031-1/+1
| | | | | | text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
* - No options should set the current system time.Bernhard Reutner-Fischer2006-06-031-4/+4
| | | | | | | | | | | | | 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.
* Remove _() and N_() from platform.h. #define them as NOP macros in the twoRob Landley2006-05-291-0/+2
| | | | | | 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.
* Remove _().Rob Landley2006-05-291-14/+12
|
* Fix some warnings in allbareconfig.Rob Landley2006-05-281-5/+2
|
* Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley2006-05-272-2/+0
|
* Change llist_add_* to take the address of the list rather than returning the newRob Landley2006-05-261-1/+1
| | | | head, and change all the callers.
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer2006-05-262-4/+4
| | | | | | 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
* - work around bug in gcc-3.4.x on ARMBernhard Reutner-Fischer2006-05-261-1/+1
|
* fix spelling mistakesMike Frysinger2006-05-262-8/+8
|
* Convert to a global struct, the way sed was. Now I have two, I can work outRob Landley2006-05-211-4/+9
| | | | the infrastructure to merge global structs into a union...
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-192-30/+3
| | | | - use shorter boilerplate while at it
* - single KERNEL_VERSION(a,b,c) macro in platform.hBernhard Reutner-Fischer2006-05-192-12/+11
| | | | | - rename get_kernel_revision() to get_linux_version_code from Robert P. J. Day
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* Shut up the warning "implicit declaration of strlen".Rob Landley2006-05-101-0/+1
|
* Fiddling with llist to make memory management easier. Specifically, theRob Landley2006-05-081-1/+1
| | | | | option to delete the contents of the list when we delete the list is a good thing.
* Shrink the code about 50 bytes, allocate less run-time memory, and add aRob Landley2006-05-081-20/+19
| | | | | 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.
* More busting on legacy mtab support in the help text.Rob Landley2006-05-081-1/+5
|
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley2006-05-071-2/+2
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* Migrate endianness macros.Rob Landley2006-05-051-6/+2
|
* Patch from Jason Schoon to make mount -a not abort on the first failure.Rob Landley2006-05-051-4/+6
|
* Build break fix from Bernhard fischer, fixing fallout from svn 14974. (My bad.)Rob Landley2006-05-031-0/+1
|
* Patches from Denis Vlasenko to rework "current_name" handling and removeRob Landley2006-04-291-126/+95
| | | | | print_current_name().
* Patch from Denis Vlasenko:Rob Landley2006-04-291-93/+74
| | | | | | | | | * 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
* Patch from Denis Vlasenko:Rob Landley2006-04-291-2/+2
| | | | | ix bug (inode_map and zone_map are char* pointers, sizeof() on them gives 4 or 8)
* Jason Schoon writes: This makes the case where LFS is not defined, but fdisk ↵Mike Frysinger2006-04-211-5/+1
| | | | is configured with large disk support use the pretty build rules.
* Robert Eggers noticed that nfsmount would sometimes incorrectly return success.Rob Landley2006-04-171-6/+2
|
* use memmove() instead of bcopy()Mike Frysinger2006-04-161-6/+6
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley2006-04-131-19/+19
| | | | to do it in Config.in.