aboutsummaryrefslogtreecommitdiff
path: root/umount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Move the mtab support stuff into libbbandersen2001-04-011-4/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A nice patch from Larry Doolittle that adds -Wshadow andandersen2001-03-211-6/+8
| | | | | | | cleans up most of the now-revealed problems. git-svn-id: svn://busybox.net/trunk/busybox@2177 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-2/+2
| | | | | | | | | 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
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-311-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-271-1/+1
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-271-0/+2
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the exit status of umount -a, a casualty of the TRUE/FALSE normalization.kraai2001-01-171-4/+4
| | | | | | | Thanks to Francois-R Boyer <boyerf@IRO.UMontreal.CA> for the report. git-svn-id: svn://busybox.net/trunk/busybox@1599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use busybox error handling functions wherever possible.kraai2000-12-221-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-4/+4
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exit status on failure.kraai2000-12-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BB_FEATURE_CLEAN_UP where appropriateandersen2000-07-251-1/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-22/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-5/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Always report the applet name when doing error reporting.kraai2000-07-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@831 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Argh. More cross libc cleanup. Should be ok now...andersen2000-07-081-18/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More cleanup on umountandersen2000-07-081-5/+17
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update files to reduce dependance on kernel version...andersen2000-07-081-10/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Finish off the libc5 porting effort. Everything now works with libc5andersen2000-06-191-1/+1
| | | | | | | | except for md5sum, which uses the GNU libc addition getline(). -Erik git-svn-id: svn://busybox.net/trunk/busybox@669 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make umount work and compile cleanly under libc5 and libc6.andersen2000-06-191-5/+16
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-2/+5
| | | | | | | | | | | which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for "noatime" and "nodiratime" mount flags to mount.erik2000-05-051-3/+21
| | | | | | | | | | Change umount "-f" to mean force, and actually use umount2. Change umount "-l" to mean "Do not free loop device". Updates docs accordingly. -Erik git-svn-id: svn://busybox.net/trunk/busybox@522 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove BB_FEATURE_REMOUNT (small, and should always be present)erik2000-05-031-8/+0
| | | | | | | | | and fix documentation dependancy checks, so it is only built when it should be built. -Erik git-svn-id: svn://busybox.net/trunk/busybox@519 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Upates to include copyright 2000 to everythingerik2000-04-131-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor changes to mount/umount to support-by-ignoring the "-v" flag.erik2000-04-041-0/+2
| | | | | | | | | Added optional core dumping as a feature for init, and include a rewrite of syslogd so that it now supports multiple concurrent connections. -Erik git-svn-id: svn://busybox.net/trunk/busybox@425 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My latest ramblings.erik2000-03-231-0/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the nice new find_real_root_device function to find theerik2000-03-221-6/+4
| | | | | | | | | name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik git-svn-id: svn://busybox.net/trunk/busybox@418 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * all mallocs now use xmalloc (and so are OOM error safe), anderik2000-03-211-2/+1
| | | | | | | | | the common error handling saves a few bytes. Thanks to Bob Tinsley <bob@earthrise.demon.co.uk> for the patch. -Erik git-svn-id: svn://busybox.net/trunk/busybox@416 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some bug fixes I forgot to check-in the other day.erik2000-03-131-1/+14
| | | | | | | | | Mounting loop devices w/o specifying the filesystem type choked if it didn't guess right the first time. -Erik git-svn-id: svn://busybox.net/trunk/busybox@404 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed rebooting when init runs as /linuxrcerik2000-02-231-0/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed the init problem where it wouldn't unmount filesystemserik2000-02-091-95/+97
| | | | | | | | on reboot. Also fixed swapoff -a so it works. -Erik git-svn-id: svn://busybox.net/trunk/busybox@358 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some formatting updates (ran the code through indent)erik2000-02-081-141/+150
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few minor updates. ;-)erik2000-02-071-55/+142
| | | | | | | | | Seriously though, read the Changelog for busybox 0.42, which this is about to become... -Erik git-svn-id: svn://busybox.net/trunk/busybox@351 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount and umount could leak loop device allocations causing the system toerik2000-01-261-52/+18
| | | | | | | | quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik git-svn-id: svn://busybox.net/trunk/busybox@341 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * added (and documented) "-n" option for head -erik2000-01-231-1/+1
| | | | | | | | | | contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik git-svn-id: svn://busybox.net/trunk/busybox@336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Added -o loop option for mount, and support in umount for looperik2000-01-131-8/+64
| | | | | | | | | | devices. Support is toggled by MOUNT_LOOP feature -- Ben Collins <bcollins@debian.org> -Erik git-svn-id: svn://busybox.net/trunk/busybox@304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-12-071-7/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@168 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-12-071-0/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixesandersen1999-11-271-2/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* updates for the dayandersen1999-11-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@99 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to usage, and made tar work.andersen1999-11-101-3/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff -- ready for release.andersen1999-11-051-4/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@75 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff.andersen1999-11-041-15/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@74 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up copyright notices and suchandersen1999-10-201-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@49 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added sfdisk. Ststic-ified a bunch of stuff.andersen1999-10-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@38 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff.andersen1999-10-181-4/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@34 69ca8d6d-28ef-0310-b511-8ec308f3f277