aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-08-14If we goto singlemount, do _not_ try to continue through the loop we jumpedRob Landley
into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.)
2005-08-14Patch from Stephane Billiart to improve ash error message.Rob Landley
2005-08-14Stephane Billiart noticed that the return code of the new mount was horked.Rob Landley
(Cleaned up the return code path to consistently use numbers so I don't keep confusing EXIT_SUCCESS with TRUE and EXIT_FAILURE with FALSE...)
2005-08-13Very minor tweak to tail.Rob Landley
2005-08-11make sure distclean punts include/bbconfigopts.hMike Frysinger
2005-08-10Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley
things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
2005-08-09implemented a builtin echo command in ash. moved the guts of thePaul Fox
echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
2005-08-04commiting:Paul Fox
0000025: vi-editing mode for ash
2005-08-04applying jim bauer's patch to eliminate modprobe's dependencyPaul Fox
on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell
2005-08-02In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andRob Landley
obvious (and less side-effect prone in strange build environments) BB_CONFIG_H. Yeah, I know Erik ripped it out of our copy of menuconfig (which is a good thing), but that doesn't fix people whose headers have it inherited from linux-kernel headers or old versions of uclibc, and Erik's fix could easily get forgotten and reverted the next time we update menuconfig anyway...
2005-08-02Do not define 'AUTOCONF_INCLUDED'Eric Andersen
2005-08-01commiting:Paul Fox
0000028 03-16-05 patch: new setsid applet
2005-08-01fix bbconfigopts.h dependMike Frysinger
2005-08-01screw around with whitespaceMike Frysinger
2005-08-01commiting:Paul Fox
0000073: Add option to inetd applet to run in foreground this option was already there for uclinux -- this just exposes it in the normal case as well.
2005-08-01commiting patch from bug 71:Paul Fox
0000071: patch: implement "--color" option for ls coloring control
2005-08-01applying patch for bug 72:Paul Fox
0000072: Add applet to redirect console output via ioctl(..., TIOCCONS) applet name changed to setconsole, since suse has a very similar utility. better to treat differences as bugs than invent a new command.
2005-08-01applying patch from bug 24:Paul Fox
0000024 03-16-05 patch: allow init to set controlling tty
2005-08-01new config display applet, from bug 46. i've changed the namePaul Fox
of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
2005-08-01allow suppression of default client-id. fixes bug 000037. allowsPaul Fox
busybox to match kernel and u-boot behavior with respect to client-id.
2005-07-31patch by pkj in Bug 3 to not export all make variablesMike Frysinger
2005-07-31patch by apgo in Bug 345 to not use ether_hostton() with uClibcMike Frysinger
2005-07-31patch by srowe in Bug 359 to fix fgrep aliasingMike Frysinger
2005-07-31typecast to intMike Frysinger
2005-07-31use socklen_t instead of size_t with socket related functionsMike Frysinger
2005-07-31move -s from LDFLAGS to STRIPCMDMike Frysinger
2005-07-31use defines instead of const integersMike Frysinger
2005-07-31shrink the flag setting by reversing the operationMike Frysinger
2005-07-31eat leading whitespace with preprocessorMike Frysinger
2005-07-31replace for loops with one function callMike Frysinger
2005-07-31Ahem: add new faq entry to list at top of FAQ.htmlRob Landley
2005-07-31Fix "nm --size-sort" on the busybox binary and document how to make it work.Rob Landley
2005-07-30only declare do_swap if we need itMike Frysinger
2005-07-30touchup syntaxMike Frysinger
2005-07-30cleanup the error message so we dont use glibcism of %m and cast a pointer ↵Mike Frysinger
to an int (bad on 64bit arches)
2005-07-30cleanup syntaxMike Frysinger
2005-07-30tell people to ignore the dups/e0 warningsMike Frysinger
2005-07-30punt unused variableMike Frysinger
2005-07-30tell people to ignore the save_name warningMike Frysinger
2005-07-30in order to make sure the INET6 prototypes are exported, we would have to ↵Mike Frysinger
include the libbb.h header file ... but then we have to worry about including too early/etc... since simply defining the prototype in an internal header file doesnt hurt anyone, lets not worry about the header file crap and just always prototype the inet6 functions
2005-07-30apgo in Bug 322 writes: kill off CONFIG_FEATURE_MTAB_FILENAMEMike Frysinger
2005-07-30rename the accept/reject names since accept overrides the accept() socket ↵Mike Frysinger
function
2005-07-30apgo in Bug 351 says: punt parse_version_number since it is no longer usedMike Frysinger
2005-07-29commiting fix from:Paul Fox
0000353: [PATCH] start-stop-daemon -q is not quiet
2005-07-28further refine check_gcc usage so it is only called the bare min number of timesMike Frysinger
2005-07-28dont output anything when running in silent modeMike Frysinger
2005-07-28From Rich Paul:Rob Landley
I've noticed that when I compile busybox on my laptop, it compiles more slowly than one would expect, and although it's a (more-or-less) multiprocessor system and I use -j5, make never seems to run more than one job at a time. I believe I have found the culprit:  each time a file is compiled, gcc runs about 5 times.  This is because the $(check_gcc) macros and the TARGET_ARCH macros are late binding. The attached patch cuts the compilation time by 66%, from 1.5 minutes to 30 seconds.  Your mileage may very.  These statements have not been evaluated by the FDA.
2005-07-28Erik pointed out that in the last try at the #ifdef cleanup Rob Landley
infrastructure, the compiler isn't smart enough to replace const static int with the constant, and allocates space for each set of them, bloating the executable something fierce. Oops. So now, we #define ENABLE_XXX to 0 or 1 for each CONFIG_XXX (which is still there so the 1000+ #ifdef/#ifndef tests don't have to be replaced wholesale). Changed the test instance in networking/ifconfig.c to use this.
2005-07-27move the ifdef to after libbb.h include, so it can do some good.Paul Fox
2005-07-27#ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.)