aboutsummaryrefslogtreecommitdiff
path: root/util-linux
AgeCommit message (Collapse)Author
2006-08-08Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley
few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems...
2006-08-08Using lstat() instead of stat() means that attempting to loopback mountRob Landley
a symlink doesn't work.
2006-08-06Make a warning go away on 64-bit systems.Rob Landley
2006-08-04There are a number of reasons for reinventing printf(). Writing status toRob Landley
stdout is not one of them.
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03Fix umount so loop device disassociation hopefully doesn't screw up errno onRob Landley
a failed mount. And while I'm at it, legacy mdev removal was only being done in the _failure_ case? That can't be right. Plus minor header cleanups and an option parsing tweak.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-27Add back in non-ifdef version of FEATURE_PRETTY_PRINT, and get the attributionRob Landley
right this time.
2006-07-27There's no excuse for adding new #ifdefs to the code like that. None at all.Rob Landley
2006-07-27allow people to display dmesg output without syslog levelsMike Frysinger
2006-07-27de-cuddle if( to if (Mike Frysinger
2006-07-16New mkswap. Small and simple. Might even work. :)Rob Landley
2006-07-06Fix three embarassing thinkos in the new dmesg.c:Rob Landley
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...)
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01Remove "#if 0" content."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-06-30fix from Kolbjørn Barmen for building for m68k targetsMike Frysinger
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