aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Stephane Billiart noticed that the return code of the new mount was horked.Rob Landley2005-08-141-4/+4
| | | | | (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...)
* Very minor tweak to tail.Rob Landley2005-08-131-4/+1
|
* make sure distclean punts include/bbconfigopts.hMike Frysinger2005-08-111-1/+1
|
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley2005-08-1012-922/+543
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. - *
* implemented a builtin echo command in ash. moved the guts of thePaul Fox2005-08-097-172/+204
| | | | | | echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
* commiting:Paul Fox2005-08-045-34/+390
| | | | 0000025: vi-editing mode for ash
* applying jim bauer's patch to eliminate modprobe's dependencyPaul Fox2005-08-042-13/+54
| | | | | on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell
* In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andRob Landley2005-08-021-1/+1
| | | | | | | | | | 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...
* Do not define 'AUTOCONF_INCLUDED'Eric Andersen2005-08-021-1/+0
|
* commiting:Paul Fox2005-08-015-0/+62
| | | | | 0000028 03-16-05 patch: new setsid applet
* fix bbconfigopts.h dependMike Frysinger2005-08-011-3/+2
|
* screw around with whitespaceMike Frysinger2005-08-011-16/+14
|
* commiting:Paul Fox2005-08-012-6/+4
| | | | | | 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.
* commiting patch from bug 71:Paul Fox2005-08-013-4/+81
| | | | | 0000071: patch: implement "--color" option for ls coloring control
* applying patch for bug 72:Paul Fox2005-08-016-0/+95
| | | | | | 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.
* applying patch from bug 24:Paul Fox2005-08-012-0/+18
| | | | | 0000024 03-16-05 patch: allow init to set controlling tty
* new config display applet, from bug 46. i've changed the namePaul Fox2005-08-017-1/+94
| | | | | of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
* allow suppression of default client-id. fixes bug 000037. allowsPaul Fox2005-08-013-6/+17
| | | | busybox to match kernel and u-boot behavior with respect to client-id.
* patch by pkj in Bug 3 to not export all make variablesMike Frysinger2005-07-312-5/+1
|
* patch by apgo in Bug 345 to not use ether_hostton() with uClibcMike Frysinger2005-07-311-0/+4
|
* patch by srowe in Bug 359 to fix fgrep aliasingMike Frysinger2005-07-312-3/+8
|
* typecast to intMike Frysinger2005-07-311-1/+1
|
* use socklen_t instead of size_t with socket related functionsMike Frysinger2005-07-311-5/+6
|
* move -s from LDFLAGS to STRIPCMDMike Frysinger2005-07-311-1/+1
|
* use defines instead of const integersMike Frysinger2005-07-311-3/+3
|
* shrink the flag setting by reversing the operationMike Frysinger2005-07-311-10/+4
|
* eat leading whitespace with preprocessorMike Frysinger2005-07-311-2/+2
|
* replace for loops with one function callMike Frysinger2005-07-311-4/+2
|
* Ahem: add new faq entry to list at top of FAQ.htmlRob Landley2005-07-311-0/+2
|
* Fix "nm --size-sort" on the busybox binary and document how to make it work.Rob Landley2005-07-312-62/+27
|
* only declare do_swap if we need itMike Frysinger2005-07-301-2/+4
|
* touchup syntaxMike Frysinger2005-07-301-10/+13
|
* cleanup the error message so we dont use glibcism of %m and cast a pointer ↵Mike Frysinger2005-07-301-2/+2
| | | | to an int (bad on 64bit arches)
* cleanup syntaxMike Frysinger2005-07-301-22/+23
|
* tell people to ignore the dups/e0 warningsMike Frysinger2005-07-301-0/+1
|
* punt unused variableMike Frysinger2005-07-301-3/+0
|
* tell people to ignore the save_name warningMike Frysinger2005-07-301-0/+1
|
* in order to make sure the INET6 prototypes are exported, we would have to ↵Mike Frysinger2005-07-301-2/+0
| | | | | | 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
* apgo in Bug 322 writes: kill off CONFIG_FEATURE_MTAB_FILENAMEMike Frysinger2005-07-301-2/+2
|
* rename the accept/reject names since accept overrides the accept() socket ↵Mike Frysinger2005-07-301-6/+6
| | | | function
* apgo in Bug 351 says: punt parse_version_number since it is no longer usedMike Frysinger2005-07-301-24/+0
|
* commiting fix from:Paul Fox2005-07-291-0/+3
| | | | 0000353: [PATCH] start-stop-daemon -q is not quiet
* further refine check_gcc usage so it is only called the bare min number of timesMike Frysinger2005-07-281-4/+7
|
* dont output anything when running in silent modeMike Frysinger2005-07-282-6/+15
|
* From Rich Paul:Rob Landley2005-07-281-3/+2
| | | | | | | | | | | | | | | 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.
* Erik pointed out that in the last try at the #ifdef cleanup Rob Landley2005-07-282-2/+4
| | | | | | | | | | | 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.
* move the ifdef to after libbb.h include, so it can do some good.Paul Fox2005-07-271-1/+1
|
* #ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley2005-07-274-4/+11
| | | | | | | | | | | | | | | | | | | 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.)
* The change in getty.c in Busybox 1.01 caused the /etc/issue file to notEric Andersen2005-07-271-5/+6
| | | | | be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result.
* use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger2005-07-2724-24/+24
|