aboutsummaryrefslogtreecommitdiff
path: root/mount.c
AgeCommit message (Collapse)Author
2001-03-01Bah. I missed a header file.Eric Andersen
2001-03-01Reduce the size of mount (and bypass /proc/filesystems) by using the sysfsEric Andersen
system call, based on work done by Glenn McGrath in December. -Erik
2001-02-28Keep trying if an NFS mount fails, and eliminate a call to exit(3).Matt Kraai
2001-02-26Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope varMark Whitley
masking outer scope var with same name' bug that was preventing the loopback device from being unmounted if mount() fails.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-01Apply a patch from Larry Doolittle to add "-all" and "-none" switchesEric Andersen
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
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2001-01-20More printf cleanupsEric Andersen
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 simplerErik 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