aboutsummaryrefslogtreecommitdiff
path: root/mount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com>andersen2000-09-211-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1078 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When mounting a ro fs rw, print warning and then mount it ro. Patchandersen2000-09-201-0/+4
| | | | | | | | from Dave Cinege. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1075 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting,andersen2000-09-191-1/+1
| | | | | | | | which had been inadvertantly broken... -Erik git-svn-id: svn://busybox.net/trunk/busybox@1066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofkraai2000-09-131-2/+2
| | | | | | | segfaulting or handling errors the same way themselves. git-svn-id: svn://busybox.net/trunk/busybox@1039 69ca8d6d-28ef-0310-b511-8ec308f3f277
* From Ken Chalmers <chalmers@norscan.com>:proski2000-08-221-1/+2
| | | | | | | | The current CVS mount.c is missing a semicolon, causing building to fail if NFS is enabled (#define BB_NFSMOUNT). git-svn-id: svn://busybox.net/trunk/busybox@979 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed the "-f" option.andersen2000-08-021-3/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@938 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Merge in two patches from Dave Cinege: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 git-svn-id: svn://busybox.net/trunk/busybox@937 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BB_FEATURE_CLEAN_UP where appropriateandersen2000-07-251-1/+1
| | | | | | | -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-32/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A couple of minor warning cleanups.andersen2000-07-141-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use errorMsg rather than fprintf.kraai2000-07-141-4/+4
| | | | 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
* Comment on kernel stuffandersen2000-07-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Argh. More cross libc cleanup. Should be ok now...andersen2000-07-081-6/+20
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update files to reduce dependance on kernel version...andersen2000-07-081-3/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@779 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove misguided klude around for 2.4.x-test* brokenness. Al Viroandersen2000-07-051-8/+0
| | | | | | | | will be removing this stuff from /proc/mounts real soon now I am assured. -Erik git-svn-id: svn://busybox.net/trunk/busybox@740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inandersen2000-06-261-0/+8
| | | | | | | | /proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik git-svn-id: svn://busybox.net/trunk/busybox@701 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Fixed 'swapon -a' and 'swapoff -a', which were broken.andersen2000-06-071-14/+13
| | | | | | | | | * Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik git-svn-id: svn://busybox.net/trunk/busybox@625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "mount" now reports errors from nfsmount() and assumes NFS mountproski2000-06-061-4/+7
| | | | | | | if ':' is present in the device name - Pavel Roskin git-svn-id: svn://busybox.net/trunk/busybox@615 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPerik2000-05-121-7/+11
| | | | | | | | | | | 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-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 git-svn-id: svn://busybox.net/trunk/busybox@522 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest and greatest. Some effort at libc5 (aiming towards newlib)erik2000-04-281-0/+3
| | | | | | | | compatability. -Erik git-svn-id: svn://busybox.net/trunk/busybox@499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More doc updates for BusyBox, with fixes to apps for bugs revealederik2000-04-131-2/+0
| | | | | | | | while trying to write docs . :-) -Erik git-svn-id: svn://busybox.net/trunk/busybox@451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minor changes to mount/umount to support-by-ignoring the "-v" flag.erik2000-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 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-11/+2
| | | | | | | | | 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
* Some bug fixes I forgot to check-in the other day.erik2000-03-131-2/+1
| | | | | | | | | 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
* Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simplererik2000-03-081-3/+3
| | | | | | | | BB_FEATURE_USE_DEVPS_PATCH. -Erik git-svn-id: svn://busybox.net/trunk/busybox@401 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Wrote killall.erik2000-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 git-svn-id: svn://busybox.net/trunk/busybox@393 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed the init problem where it wouldn't unmount filesystemserik2000-02-091-27/+27
| | | | | | | | 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-283/+298
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@357 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Clear up some ambiguity with old style assignments.erik2000-01-291-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shuffle location of generic code into utility.cerik2000-01-261-71/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount and umount could leak loop device allocations causing the system toerik2000-01-261-76/+89
| | | | | | | | 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-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 git-svn-id: svn://busybox.net/trunk/busybox@336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync up busybox with the latest and greatest. This is not stuff forerik2000-01-151-1/+3
| | | | | | | | the Embedix release. -Erik git-svn-id: svn://busybox.net/trunk/busybox@309 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * Added -o loop option for mount, and support in umount for looperik2000-01-131-14/+125
| | | | | | | | | | 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
* The latest and greatest. init basically works, though needserik2000-01-051-0/+12
| | | | | | | | | a minor inittab design change to accomodate specifying the device to run each process on. -Erik git-svn-id: svn://busybox.net/trunk/busybox@279 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-12-051-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updatesandersen1999-11-151-14/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@101 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updates to usage, and made tar work.andersen1999-11-101-12/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed ln, df, and removed redundant stuff from mtab.andersen1999-11-061-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@81 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More stuff.andersen1999-11-041-15/+56
| | | | git-svn-id: svn://busybox.net/trunk/busybox@74 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stufandersen1999-11-041-10/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@73 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed up copyright notices and suchandersen1999-10-201-3/+7
| | | | 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 stuffandersen1999-10-161-2/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@28 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed cp -[aR] and some other stuf.andersen1999-10-141-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@27 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Finally mount works properly. Made debugging work (no more -s ld flagandersen1999-10-081-39/+48
| | | | | | | when debugging is on). git-svn-id: svn://busybox.net/trunk/busybox@16 69ca8d6d-28ef-0310-b511-8ec308f3f277