aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Comment on kernel stuffEric Andersen2000-07-101-1/+1
| | | | -Erik
* Argh. More cross libc cleanup. Should be ok now...Eric Andersen2000-07-081-6/+20
| | | | -Erik
* Update files to reduce dependance on kernel version...Eric Andersen2000-07-081-3/+5
| | | | -Erik
* Remove misguided klude around for 2.4.x-test* brokenness. Al ViroEric Andersen2000-07-051-8/+0
| | | | | will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
* Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inEric Andersen2000-06-261-0/+8
| | | | | /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik
* * Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen2000-06-071-14/+13
| | | | | | * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
* "mount" now reports errors from nfsmount() and assumes NFS mountPavel Roskin2000-06-061-4/+7
| | | | if ':' is present in the device name - Pavel Roskin
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen2000-05-121-7/+11
| | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
* Add support for "noatime" and "nodiratime" mount flags to mount.Erik Andersen2000-05-051-13/+19
| | | | | | | Change umount "-f" to mean force, and actually use umount2. Change umount "-l" to mean "Do not free loop device". Updates docs accordingly. -Erik
* Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen2000-04-281-0/+3
| | | | | compatability. -Erik
* More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen2000-04-131-2/+0
| | | | | while trying to write docs . :-) -Erik
* minor changes to mount/umount to support-by-ignoring the "-v" flag.Erik Andersen2000-04-041-0/+1
| | | | | | Added optional core dumping as a feature for init, and include a rewrite of syslogd so that it now supports multiple concurrent connections. -Erik
* My latest ramblings.Erik Andersen2000-03-231-0/+4
| | | | -Erik
* Use the nice new find_real_root_device function to find theErik Andersen2000-03-221-11/+2
| | | | | | name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik
* Some bug fixes I forgot to check-in the other day.Erik Andersen2000-03-131-2/+1
| | | | | | Mounting loop devices w/o specifying the filesystem type choked if it didn't guess right the first time. -Erik
* Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler0_43pre1Erik Andersen2000-03-081-3/+3
| | | | | BB_FEATURE_USE_DEVPS_PATCH. -Erik
* Wrote killall.Erik Andersen2000-03-071-7/+79
| | | | | | Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
* Fixed the init problem where it wouldn't unmount filesystemsErik Andersen2000-02-091-27/+27
| | | | | on reboot. Also fixed swapoff -a so it works. -Erik
* Some formatting updates (ran the code through indent)Erik Andersen2000-02-081-283/+298
| | | | -Erik
* Clear up some ambiguity with old style assignments.Erik Andersen2000-01-291-2/+2
| | | | -Erik
* Shuffle location of generic code into utility.cErik Andersen2000-01-261-71/+0
| | | | -Erik
* mount and umount could leak loop device allocations causing the system toErik Andersen2000-01-261-76/+89
| | | | | quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik
* * added (and documented) "-n" option for head -Erik Andersen2000-01-231-28/+26
| | | | | | | contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik