aboutsummaryrefslogtreecommitdiff
path: root/mount.c
AgeCommit message (Collapse)Author
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
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