aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a thinko (the symptoms of which were reported byMatt Kraai2001-07-051-1/+1
| | | | David Douthitt in bug #1111).
* Don't whine about already mounted filesystems when invoked with -a.Matt Kraai2001-06-031-6/+9
|
* Patch from Gernot Poerner <gp@it-netservice.de>. Adds inEric Andersen2001-05-211-0/+2
| | | | mount bind support.
* Patch from Vladimir:Eric 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
* Actually we dont need to check if the device is nfs as it wont be stat'edGlenn L McGrath2001-05-071-2/+1
|
* woops, i shouldnt be so presumtuous? about what the error will beGlenn L McGrath2001-05-071-1/+1
|
* Device may not be a real filenameGlenn L McGrath2001-05-071-10/+16
|
* Fix two bugs reported by Ralph Jones.Matt Kraai2001-05-041-3/+7
|
* Fix bug #1108 by always canonicalizing arguments.Matt Kraai2001-05-021-13/+16
|
* Moved some #ifdefs down below #include "busybox.h" where they belong.Mark Whitley2001-04-251-2/+2
|
* Convert mount to use getopt.Matt Kraai2001-04-171-55/+31
|
* Further cleanup of mount option handling.Matt Kraai2001-04-171-62/+61
|
* Fix -a support (broken by previous patch).Matt Kraai2001-04-171-3/+3
|
* Fix segfault on `mount -t nfs' reported by Gratien D'haese.Matt Kraai2001-04-171-0/+3
|
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-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
* Move the mtab support stuff into libbbEric Andersen2001-04-011-2/+2
| | | | -Erik
* Dont try and automount devfs, rename some variablesGlenn L McGrath2001-03-301-6/+6
|
* The patch I previously applied from Brian Webb was 2 lines off. Oops.Mark Whitley2001-03-141-1/+1
|
* Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA.Mark Whitley2001-03-121-0/+1
| | | | Apparently, the mount() call does not like taking a stack allocated pointer.
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-1/+1
| | | | namespace polluting things that really should be static.
* Dont try to automount some specific filesystem typesGlenn L McGrath2001-03-021-4/+14
|
* Bah. I missed a header file.Eric Andersen2001-03-011-1/+5
|
* Reduce the size of mount (and bypass /proc/filesystems) by using the sysfsEric Andersen2001-03-011-61/+14
| | | | | system call, based on work done by Glenn McGrath in December. -Erik
* Keep trying if an NFS mount fails, and eliminate a call to exit(3).Matt Kraai2001-02-281-5/+4
|
* Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope varMark Whitley2001-02-261-1/+2
| | | | | masking outer scope var with same name' bug that was preventing the loopback device from being unmounted if mount() fails.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-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.
* Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen2001-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
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-5/+5
|
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-15/+15
|
* More printf cleanupsEric Andersen2001-01-201-1/+1
|
* Use busybox error handling functions wherever possible.Matt Kraai2000-12-221-1/+1
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-10/+9
|
* Mount error return code fix from Kent Robotti -- we must reset the errorEric Andersen2000-12-121-6/+3
| | | | code when looping...
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-14/+14
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Fix exit status on failure.Matt Kraai2000-12-061-2/+3
|
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-7/+5
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com>Eric Andersen2000-09-211-0/+2
|
* When mounting a ro fs rw, print warning and then mount it ro. PatchEric Andersen2000-09-201-0/+4
| | | | | from Dave Cinege. -Erik
* Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting,Eric Andersen2000-09-191-1/+1
| | | | | which had been inadvertantly broken... -Erik
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai2000-09-131-2/+2
| | | | segfaulting or handling errors the same way themselves.
* From Ken Chalmers <chalmers@norscan.com>:Pavel Roskin2000-08-221-1/+2
| | | | | The current CVS mount.c is missing a semicolon, causing building to fail if NFS is enabled (#define BB_NFSMOUNT).
* Fixed the "-f" option.Eric Andersen2000-08-021-3/+1
| | | | -Erik
* Merge in two patches from Dave Cinege:Eric Andersen2000-08-021-32/+56
| | | | | | | | | | the first is a cleanup of tar --exclude the second changes mount so mtab works more as it should, and also allows mount to use the traditional short form (i.e. 'mount / -o remount,rw' now works. While inside tar, I changed it to use getopt... -Erik
* Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen2000-07-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-32/+0
|
* A couple of minor warning cleanups.Eric Andersen2000-07-141-2/+2
| | | | -Erik
* Use errorMsg rather than fprintf.Matt Kraai2000-07-141-4/+4
|
* Always report the applet name when doing error reporting.Matt Kraai2000-07-121-1/+1
|