aboutsummaryrefslogtreecommitdiff
path: root/mount.c
AgeCommit message (Collapse)Author
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-10-18Make mount default to using /proc/filesystems to avoidEric Andersen
ever trying to mount a nodev filesystem. -Erik
2001-09-03Don't automount things as "usbdevfs" -- patch fromEric Andersen
Ethan Benson <erbenson@alaska.net>
2001-08-10Commit Vladimir's simplify_path.Matt Kraai
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-05Fix a thinko (the symptoms of which were reported byMatt Kraai
David Douthitt in bug #1111).
2001-06-03Don't whine about already mounted filesystems when invoked with -a.Matt Kraai
2001-05-21Patch from Gernot Poerner <gp@it-netservice.de>. Adds inEric Andersen
mount bind support.
2001-05-15Patch from Vladimir:Eric Andersen
1) fixed a bug that could crash df, mount, and umount applets if the root device name was longer then the word "root" (/dev/loop1 vs /dev/root) - 2) severl functions needed static declaration in the umount applet 3) update declaration for function in last_char_is() in libbb
2001-05-07Actually we dont need to check if the device is nfs as it wont be stat'edGlenn L McGrath
2001-05-07woops, i shouldnt be so presumtuous? about what the error will beGlenn L McGrath
2001-05-07Device may not be a real filenameGlenn L McGrath
2001-05-04Fix two bugs reported by Ralph Jones.Matt Kraai
2001-05-02Fix bug #1108 by always canonicalizing arguments.Matt Kraai
2001-04-25Moved some #ifdefs down below #include "busybox.h" where they belong.Mark Whitley
2001-04-17Convert mount to use getopt.Matt Kraai
2001-04-17Further cleanup of mount option handling.Matt Kraai
2001-04-17Fix -a support (broken by previous patch).Matt Kraai
2001-04-17Fix segfault on `mount -t nfs' reported by Gratien D'haese.Matt Kraai
2001-04-05A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
2001-04-01Move the mtab support stuff into libbbEric Andersen
-Erik
2001-03-30Dont try and automount devfs, rename some variablesGlenn L McGrath
2001-03-14The patch I previously applied from Brian Webb was 2 lines off. Oops.Mark Whitley
2001-03-12Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA.Mark Whitley
Apparently, the mount() call does not like taking a stack allocated pointer.
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-03-02Dont try to automount some specific filesystem typesGlenn L McGrath
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