aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Major coreutils update.mjn32003-03-191-18/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There is no good reason to prevent nfs mounts from being mountedandersen2003-02-281-2/+2
| | | | | | | | | | during 'mount -a'. If the user wants to do that, hey, its their lifs. If the nfs server is down and they don't want to wait for nfs to time out, that is their problem. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6648 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notandersen2002-12-051-81/+1
| | | | | | | | maintaining it anymore, and it is now terribly out of date. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6101 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, stylebug12002-08-231-48/+66
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5353 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, fix commentsbug12002-08-221-110/+120
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for bug #1255 -- support for mount -t <type>sandman2002-07-251-8/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for /etc/filesystem when searching for an "auto" filesystemsandman2002-07-241-16/+52
| | | | | | | This is bug #1246 git-svn-id: svn://busybox.net/trunk/busybox@5085 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kill dead email addressandersen2002-06-221-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4954 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply last_patch46 from vodz, to fix buffer overflows noted byandersen2002-06-221-25/+23
| | | | | | | Gerardo Puga, and to optimize for size a little bit. Thanks vodz git-svn-id: svn://busybox.net/trunk/busybox@4953 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Entries with "noauto" options are ignored correctly when mounting allsandman2002-05-141-0/+1
| | | | | | | | ("mount -a"), but mount fails when these entries are specified explicitly In these cases the "noauto" option has to be simply ignored. git-svn-id: svn://busybox.net/trunk/busybox@4770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Kevin Hilman <khilman@equator.com> to fix potentialandersen2002-04-131-1/+2
| | | | | | | memory corruption from long pathnames in /etc/fstab. git-svn-id: svn://busybox.net/trunk/busybox@4613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update some missing copyright noticesandersen2002-04-131-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply lash_patch35 from vodz, which brings several nice size_optimizations.andersen2002-04-061-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-201-16/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Avoid NULL pointer problems. Patch from "Frank P. MacLachlan"andersen2001-12-061-0/+1
| | | | | | | <fpm-plutus@tgs.indyme.com> git-svn-id: svn://busybox.net/trunk/busybox@3859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change strdup calls to xstrdup (patch from Steve Merrifield).kraai2001-11-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-13/+13
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make mount default to using /proc/filesystems to avoidandersen2001-10-181-2/+31
| | | | | | | | ever trying to mount a nodev filesystem. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3539 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't automount things as "usbdevfs" -- patch fromandersen2001-09-031-1/+1
| | | | | | | Ethan Benson <erbenson@alaska.net> git-svn-id: svn://busybox.net/trunk/busybox@3384 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Vladimir's simplify_path.kraai2001-08-101-7/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3240 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
* 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
* Patch from Vladimir:andersen2001-05-151-1/+5
| | | | | | | | | | 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
* 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
* 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
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-051-5/+1
| | | | | | | | | 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-011-2/+2
| | | | | | | -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
* 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
* A cleanup patch from Jeff Garzik to static-ify a number ofandersen2001-03-091-1/+1
| | | | | | | namespace polluting things that really should be static. git-svn-id: svn://busybox.net/trunk/busybox@2027 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
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-201-1/+1
| | | | | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-141-1/+1
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesandersen2001-02-011-6/+1
| | | | | | | | | | to multibuild.pl. I did a little formatting adjustments to make it _very_ obvious when things stop working. I also removed the USE_PROCFS config option -- just do the right thing when USE_DEVPS_PATCH is enabled. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277