aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Amir Shalem found some bugs in the new mount code; unknown options didn't getlandley2005-08-301-2/+4
| | | | | | | | | added to the list, and my assumption that nfsmount() actually called mount() was incorrect (and I coded it wrong anyway; I hate having to touch codepaths I can't personally test). git-svn-id: svn://busybox.net/trunk/busybox@11289 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dirk Clemens pointed out how easy it is to support bzip2 compression, since welandley2005-08-301-18/+15
| | | | | | | shell out to an external program to handle gzip anyway... git-svn-id: svn://busybox.net/trunk/busybox@11284 69ca8d6d-28ef-0310-b511-8ec308f3f277
* point to busybox.netandersen2005-08-281-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11277 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dumb little hack, "make sizes". Try it.landley2005-08-281-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make sure __NF_sysfs exists before trying to use itvapier2005-08-271-0/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* some portability fixes by rmh in Bug 395vapier2005-08-272-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11266 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer submitted a couple of Makefile patches:landley2005-08-243-12/+14
| | | | | | | | | | - Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@' git-svn-id: svn://busybox.net/trunk/busybox@11234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove something we did, not that I'm doing something, and add something welandley2005-08-231-3/+5
| | | | | | | haven't done. Woo. git-svn-id: svn://busybox.net/trunk/busybox@11232 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When compiling with FEATURE_MTAB_SUPPORT disabled, the call to erase_mtab()landley2005-08-231-1/+3
| | | | | | | | | | | | | | | | can never be made because useMtab is initialized to 0, and all the other assignments of that variable assign 0 to it. Any compiler that can perform simple constant propogation on local variables will optimize away if statements testing against that variable, thus the call to erase_mtab() will never be made. When compiling for arm using gcc 3.3.3 with FEATURE_MTAB_SUPPORT disabled, the linker complains that it can't find erase_mtab(). The arm optimizer isn't exactly the brightest member of the family, and apparently needs to be hit over the head with a hammer to get its' attention... git-svn-id: svn://busybox.net/trunk/busybox@11231 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.landley2005-08-222-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11224 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer provided a mountpoint(1) applet. This is apparently somethinglandley2005-08-205-0/+94
| | | | | | | sysvinit provides, and which is used by the debian init scripts. git-svn-id: svn://busybox.net/trunk/busybox@11219 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Announce busybox 1.01.landley2005-08-171-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11179 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tito (among others) writes: previous patch was wrong, please stop screwing ↵vapier2005-08-171-2/+2
| | | | | | things up git-svn-id: svn://busybox.net/trunk/busybox@11178 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When doing 'make release' nuke the .svn directories, not theandersen2005-08-171-1/+1
| | | | | | | CVS dirs (since they are no longer present) git-svn-id: svn://busybox.net/trunk/busybox@11174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* the () around isspace actually mattersvapier2005-08-161-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11169 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer says: use xmalloc() instead of malloc()vapier2005-08-163-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11168 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer says: fix comment typovapier2005-08-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer writes: fix devfsd usagevapier2005-08-151-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* If we goto singlemount, do _not_ try to continue through the loop we jumpedlandley2005-08-141-1/+1
| | | | | | | | into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.) git-svn-id: svn://busybox.net/trunk/busybox@11150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Stephane Billiart to improve ash error message.landley2005-08-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stephane Billiart noticed that the return code of the new mount was horked.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...) git-svn-id: svn://busybox.net/trunk/busybox@11147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Very minor tweak to tail.landley2005-08-131-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* err, make sure we edit the correct ignore propertyvapier2005-08-110-0/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make sure distclean punts include/bbconfigopts.hvapier2005-08-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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