aboutsummaryrefslogtreecommitdiff
path: root/util-linux (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Teach libc5 about realpathandersen2001-08-021-0/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rework option handling to save space.kraai2001-07-301-19/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3161 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename dirname variable to pathname to eliminate namespace conflict.kraai2001-07-261-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for devfs device names.kraai2001-07-231-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-1/+1
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a thinko (the symptoms of which were reported bykraai2001-07-051-1/+1
| | | | | | | David Douthitt in bug #1111). git-svn-id: svn://busybox.net/trunk/busybox@3002 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir's last_patch_15bug12001-06-261-51/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't whine about already mounted filesystems when invoked with -a.kraai2001-06-031-6/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gernot Poerner <gp@it-netservice.de>. Adds inandersen2001-05-211-0/+2
| | | | | | | mount bind support. git-svn-id: svn://busybox.net/trunk/busybox@2680 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove/replace the "div" call.andersen2001-05-161-5/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2657 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add xgethostbyname and herror_msg* functions.kraai2001-05-162-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Vladimir:andersen2001-05-152-18/+21
| | | | | | | | | | 1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb git-svn-id: svn://busybox.net/trunk/busybox@2647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Actually we dont need to check if the device is nfs as it wont be stat'edbug12001-05-071-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* woops, i shouldnt be so presumtuous? about what the error will bebug12001-05-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2545 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Device may not be a real filenamebug12001-05-071-10/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2544 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix two bugs reported by Ralph Jones.kraai2001-05-041-3/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2530 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Canonicalize path before trying to unmount it.kraai2001-05-021-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2518 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix bug #1108 by always canonicalizing arguments.kraai2001-05-021-13/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2517 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Moved some #ifdefs down below #include "busybox.h" where they belong.markw2001-04-251-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move messages.c to libbb. Make each string in messages.c be its own .o file.andersen2001-04-251-3/+0
| | | | | | | | | | This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Larry Doolittle to remove some strlen calls, and add onemarkw2001-04-231-7/+10
| | | | | | | paranoia check to avoid buffer underrun. Saves 120 text bytes. git-svn-id: svn://busybox.net/trunk/busybox@2417 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert mount to use getopt.kraai2001-04-171-55/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2356 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Further cleanup of mount option handling.kraai2001-04-171-62/+61
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2355 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix -a support (broken by previous patch).kraai2001-04-171-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2354 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix segfault on `mount -t nfs' reported by Gratien D'haese.kraai2001-04-171-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2353 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix return code and don't output spurious newlines.kraai2001-04-121-10/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2340 69ca8d6d-28ef-0310-b511-8ec308f3f277
* An optimization from Vladimirandersen2001-04-061-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2268 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more FILE_OFFSET_BITS == 64 adjustments.andersen2001-04-051-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-054-41/+14
| | | | | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move the mtab support stuff into libbbandersen2001-04-012-6/+6
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont try and automount devfs, rename some variablesbug12001-03-301-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2226 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch to use xfopen from Jeff Garzikandersen2001-03-231-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2192 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clean up more local vars which shadow globalsandersen2001-03-211-5/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A nice patch from Larry Doolittle that adds -Wshadow andandersen2001-03-214-28/+30
| | | | | | | cleans up most of the now-revealed problems. git-svn-id: svn://busybox.net/trunk/busybox@2177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Another cleanup patch from Jeff Garzik <jgarzik@mandrakesoft.com>andersen2001-03-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2163 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Size optimization for rdate from Vladimirandersen2001-03-191-34/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update the documentation so examples are autoincluded in the output text.andersen2001-03-151-6/+0
| | | | | | | | Fix up docs/busybox.pod with the latest autogenerated output. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2088 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The patch I previously applied from Brian Webb was 2 lines off. Oops.markw2001-03-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2076 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA.markw2001-03-121-0/+1
| | | | | | | Apparently, the mount() call does not like taking a stack allocated pointer. git-svn-id: svn://busybox.net/trunk/busybox@2050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Silence a silly warningandersen2001-03-091-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A cleanup patch from Jeff Garzik to static-ify a number ofandersen2001-03-099-23/+22
| | | | | | | namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patchs from Jeff Garzik <jgarzik@mandrakesoft.com> to cleanupandersen2001-03-094-6/+5
| | | | | | | | warnings with glibc 2.2 and use always use xfopen -Erik git-svn-id: svn://busybox.net/trunk/busybox@2021 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont try to automount some specific filesystem typesbug12001-03-021-4/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bah. I missed a header file.andersen2001-03-011-1/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1948 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reduce the size of mount (and bypass /proc/filesystems) by using the sysfsandersen2001-03-011-61/+14
| | | | | | | | system call, based on work done by Glenn McGrath in December. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Keep trying if an NFS mount fails, and eliminate a call to exit(3).kraai2001-02-281-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1945 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope varmarkw2001-02-261-1/+2
| | | | | | | | masking outer scope var with same name' bug that was preventing the loopback device from being unmounted if mount() fails. git-svn-id: svn://busybox.net/trunk/busybox@1938 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stub out the syscall, not the whole application. The stubbedandersen2001-02-241-8/+18
| | | | | | | | | out syscall sets errno properly and whines about missing kernel support. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1928 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stub out pivot_root so it won't fail to compile.andersen2001-02-231-2/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1900 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another fix. I think I got it this time.andersen2001-02-231-8/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1894 69ca8d6d-28ef-0310-b511-8ec308f3f277