aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ignore the auto-generated bb config header filesvapier2005-08-110-0/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11110 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunklandley2005-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. - * git-svn-id: svn://busybox.net/trunk/busybox@11099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* implemented a builtin echo command in ash. moved the guts of thepgf2005-08-097-172/+204
| | | | | | | | | echo applet into libbb, and now call bb_echo() from both echo.c and ash.c git-svn-id: svn://busybox.net/trunk/busybox@11083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-08-045-34/+390
| | | | | | | 0000025: vi-editing mode for ash git-svn-id: svn://busybox.net/trunk/busybox@11044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying jim bauer's patch to eliminate modprobe's dependencypgf2005-08-042-13/+54
| | | | | | | | on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell git-svn-id: svn://busybox.net/trunk/busybox@11043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andlandley2005-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... git-svn-id: svn://busybox.net/trunk/busybox@11023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Do not define 'AUTOCONF_INCLUDED'andersen2005-08-021-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-08-015-0/+62
| | | | | | | | 0000028 03-16-05 patch: new setsid applet git-svn-id: svn://busybox.net/trunk/busybox@11015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bbconfigopts.h dependvapier2005-08-011-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11012 69ca8d6d-28ef-0310-b511-8ec308f3f277
* screw around with whitespacevapier2005-08-011-16/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting:pgf2005-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. git-svn-id: svn://busybox.net/trunk/busybox@11010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting patch from bug 71:pgf2005-08-013-4/+81
| | | | | | | | 0000071: patch: implement "--color" option for ls coloring control git-svn-id: svn://busybox.net/trunk/busybox@11009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying patch for bug 72:pgf2005-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. git-svn-id: svn://busybox.net/trunk/busybox@11008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying patch from bug 24:pgf2005-08-012-0/+18
| | | | | | | | 0000024 03-16-05 patch: allow init to set controlling tty git-svn-id: svn://busybox.net/trunk/busybox@11007 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new config display applet, from bug 46. i've changed the namepgf2005-08-017-1/+94
| | | | | | | | of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately. git-svn-id: svn://busybox.net/trunk/busybox@11006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* allow suppression of default client-id. fixes bug 000037. allowspgf2005-08-013-6/+17
| | | | | | | busybox to match kernel and u-boot behavior with respect to client-id. git-svn-id: svn://busybox.net/trunk/busybox@11005 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch by pkj in Bug 3 to not export all make variablesvapier2005-07-312-5/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch by apgo in Bug 345 to not use ether_hostton() with uClibcvapier2005-07-311-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11002 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch by srowe in Bug 359 to fix fgrep aliasingvapier2005-07-312-3/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11001 69ca8d6d-28ef-0310-b511-8ec308f3f277
* typecast to intvapier2005-07-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11000 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use socklen_t instead of size_t with socket related functionsvapier2005-07-311-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10999 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move -s from LDFLAGS to STRIPCMDvapier2005-07-311-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10998 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use defines instead of const integersvapier2005-07-311-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10997 69ca8d6d-28ef-0310-b511-8ec308f3f277
* shrink the flag setting by reversing the operationvapier2005-07-311-10/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10996 69ca8d6d-28ef-0310-b511-8ec308f3f277
* eat leading whitespace with preprocessorvapier2005-07-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10995 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replace for loops with one function callvapier2005-07-311-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10994 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ahem: add new faq entry to list at top of FAQ.htmllandley2005-07-311-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10992 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix "nm --size-sort" on the busybox binary and document how to make it work.landley2005-07-312-62/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10991 69ca8d6d-28ef-0310-b511-8ec308f3f277
* only declare do_swap if we need itvapier2005-07-301-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* touchup syntaxvapier2005-07-301-10/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10983 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup the error message so we dont use glibcism of %m and cast a pointer ↵vapier2005-07-301-2/+2
| | | | | | to an int (bad on 64bit arches) git-svn-id: svn://busybox.net/trunk/busybox@10982 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup syntaxvapier2005-07-301-22/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tell people to ignore the dups/e0 warningsvapier2005-07-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10980 69ca8d6d-28ef-0310-b511-8ec308f3f277
* punt unused variablevapier2005-07-301-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10979 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tell people to ignore the save_name warningvapier2005-07-301-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* in order to make sure the INET6 prototypes are exported, we would have to ↵vapier2005-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 git-svn-id: svn://busybox.net/trunk/busybox@10977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* apgo in Bug 322 writes: kill off CONFIG_FEATURE_MTAB_FILENAMEvapier2005-07-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10976 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ignore .hdependvapier2005-07-300-0/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10975 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename the accept/reject names since accept overrides the accept() socket ↵vapier2005-07-301-6/+6
| | | | | | function git-svn-id: svn://busybox.net/trunk/busybox@10974 69ca8d6d-28ef-0310-b511-8ec308f3f277
* apgo in Bug 351 says: punt parse_version_number since it is no longer usedvapier2005-07-301-24/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10973 69ca8d6d-28ef-0310-b511-8ec308f3f277
* commiting fix from:pgf2005-07-291-0/+3
| | | | | | | 0000353: [PATCH] start-stop-daemon -q is not quiet git-svn-id: svn://busybox.net/trunk/busybox@10957 69ca8d6d-28ef-0310-b511-8ec308f3f277
* further refine check_gcc usage so it is only called the bare min number of timesvapier2005-07-281-4/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dont output anything when running in silent modevapier2005-07-282-6/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Rich Paul: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. git-svn-id: svn://busybox.net/trunk/busybox@10945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Erik pointed out that in the last try at the #ifdef cleanup 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. git-svn-id: svn://busybox.net/trunk/busybox@10944 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move the ifdef to after libbb.h include, so it can do some good.pgf2005-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10933 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #ifdef reduction infrastructure, based on an argument between Shaun Jackman,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.) git-svn-id: svn://busybox.net/trunk/busybox@10929 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The change in getty.c in Busybox 1.01 caused the /etc/issue file to notandersen2005-07-271-5/+6
| | | | | | | | be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result. git-svn-id: svn://busybox.net/trunk/busybox@10928 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-2724-24/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2005-04-05 Shaun Jackman <sjackman@gmail.com>vapier2005-07-261-14/+14
| | | | | | | * libbb/printf.c: Check for __NEWLIB_H__ before __GLIBC__. git-svn-id: svn://busybox.net/trunk/busybox@10922 69ca8d6d-28ef-0310-b511-8ec308f3f277