summaryrefslogtreecommitdiff
path: root/mount.c
AgeCommit message (Collapse)Author
2000-12-22Use busybox error handling functions wherever possible.Matt Kraai
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-12Mount error return code fix from Kent Robotti -- we must reset the errorEric Andersen
code when looping...
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-06Fix exit status on failure.Matt Kraai
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-21Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com>Eric Andersen
2000-09-20When mounting a ro fs rw, print warning and then mount it ro. PatchEric Andersen
from Dave Cinege. -Erik
2000-09-19Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting,Eric Andersen
which had been inadvertantly broken... -Erik
2000-09-13Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofMatt Kraai
segfaulting or handling errors the same way themselves.
2000-08-22From Ken Chalmers <chalmers@norscan.com>:Pavel Roskin
The current CVS mount.c is missing a semicolon, causing building to fail if NFS is enabled (#define BB_NFSMOUNT).
2000-08-02Fixed the "-f" option.Eric Andersen
-Erik
2000-08-02Merge in two patches from Dave Cinege:Eric Andersen
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
2000-07-25Use BB_FEATURE_CLEAN_UP where appropriateEric Andersen
-Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-14A couple of minor warning cleanups.Eric Andersen
-Erik
2000-07-14Use errorMsg rather than fprintf.Matt Kraai
2000-07-12Always report the applet name when doing error reporting.Matt Kraai
2000-07-10Comment on kernel stuffEric Andersen
-Erik
2000-07-08Argh. More cross libc cleanup. Should be ok now...Eric Andersen
-Erik
2000-07-08Update files to reduce dependance on kernel version...Eric Andersen
-Erik
2000-07-05Remove misguided klude around for 2.4.x-test* brokenness. Al ViroEric Andersen
will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
2000-06-26Updates to handle Linux 2.4.0 kernels (kludged around the "none" entries inEric Andersen
/proc/mounts, added a hack to make sysinfo work with both old and new kernels). -Erik
2000-06-07* Fixed 'swapon -a' and 'swapoff -a', which were broken.Eric Andersen
* Fixed 'mount -a' so it works as expected. * Implemented 'ls -R' (enabled by enabling BB_FEATURE_LS_RECURSIVE) -Erik
2000-06-06"mount" now reports errors from nfsmount() and assumes NFS mountPavel Roskin
if ':' is present in the device name - Pavel Roskin
2000-05-12Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELPErik Andersen
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
2000-05-05Add support for "noatime" and "nodiratime" mount flags to mount.Erik Andersen
Change umount "-f" to mean force, and actually use umount2. Change umount "-l" to mean "Do not free loop device". Updates docs accordingly. -Erik
2000-04-28Latest and greatest. Some effort at libc5 (aiming towards newlib)Erik Andersen
compatability. -Erik
2000-04-13More doc updates for BusyBox, with fixes to apps for bugs revealedErik Andersen
while trying to write docs . :-) -Erik
2000-04-04minor changes to mount/umount to support-by-ignoring the "-v" flag.Erik Andersen
Added optional core dumping as a feature for init, and include a rewrite of syslogd so that it now supports multiple concurrent connections. -Erik
2000-03-23My latest ramblings.Erik Andersen
-Erik
2000-03-22Use the nice new find_real_root_device function to find theErik Andersen
name of the root device, instead of having libc read whatever lies happen to be in /etc/mtab. -Erik
2000-03-13Some bug fixes I forgot to check-in the other day.Erik Andersen
Mounting loop devices w/o specifying the filesystem type choked if it didn't guess right the first time. -Erik
2000-03-08Change BB_FEATURE_USE_DEVPS_N_DEVMTAB to the simpler0_43pre1Erik Andersen
BB_FEATURE_USE_DEVPS_PATCH. -Erik
2000-03-07Wrote killall.Erik Andersen
Adjusted mount, ps, utility.c, etc to handle my nifty new kernel patches the allow busybox to run perfectly without /proc. -Erik
2000-02-09Fixed the init problem where it wouldn't unmount filesystemsErik Andersen
on reboot. Also fixed swapoff -a so it works. -Erik
2000-02-08Some formatting updates (ran the code through indent)Erik Andersen
-Erik
2000-01-29Clear up some ambiguity with old style assignments.Erik Andersen
-Erik
2000-01-26Shuffle location of generic code into utility.cErik Andersen
-Erik
2000-01-26mount and umount could leak loop device allocations causing the system toErik Andersen
quickly run out. Also disable init's SIGHUP handler during shutdown. -Erik
2000-01-23* added (and documented) "-n" option for head -Erik Andersen
contributed Friedrich Vedder <fwv@myrtle.lahn.de> * Cleanup for a number of usage messages -- also contributed Friedrich Vedder <fwv@myrtle.lahn.de> -Erik
2000-01-15Sync up busybox with the latest and greatest. This is not stuff forErik Andersen
the Embedix release. -Erik
2000-01-13* Added -o loop option for mount, and support in umount for loopErik Andersen
devices. Support is toggled by MOUNT_LOOP feature -- Ben Collins <bcollins@debian.org> -Erik
2000-01-05The latest and greatest. init basically works, though needsErik Andersen
a minor inittab design change to accomodate specifying the device to run each process on. -Erik
1999-12-05StufEric Andersen
1999-11-15UpdatesEric Andersen
1999-11-10Updates to usage, and made tar work.Eric Andersen
-Erik
1999-11-06Fixed ln, df, and removed redundant stuff from mtab.Eric Andersen
1999-11-04More stuff.Eric Andersen