aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mount.c
AgeCommit message (Collapse)Author
2004-08-03Tito, farmatito at tiscali dot it writes:Eric Andersen
Hi to all, This patch is useful for: 1) remove an unused var from extern char *find_real_root_device_name(const char* name) changing it to extern char *find_real_root_device_name(void). 2) fixes include/libbb.h, coreutils/df.c, util-linux/mount.c and util-linux/umount.c accordingly. 3) fixes a bug, really a false positive, in find_real_root_device_name() that happens if in the /dev directory exists a link named root (/dev/root) that should be skipped but is not. This affects applets like df that display wrong results
2004-05-26Kevin P. Fleming writes:Eric Andersen
Yes, I know busybox is in feature freeze. If this two-liner is too much that's fine, but it's handy. This patch allows busybox mount to support "-o move" just like it supports "-o bind", which is the equivalent of util-linux "mount --move". Usage is: mount -o move /mnt/point/1 /mnt/point/2 where /mnt/point/1 is an already mounted filesystem; it will be moved to /mnt/point/2.
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-04-12make mount ignore -n when CONFIG_FEATURE_MTAB_SUPPORT is disabledEric Andersen
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-12-12Doh! I broke automatic filesystem type guessing. Fix mount soEric Andersen
it will properly fall back to /proc/mounts when /etc/filesystems is missing, allowing mount to guess the correct fs type when a fs type is not explicitly specified. -Erik
2003-12-09Fix indenting.Eric Andersen
Fix a bug noticed by Pete Flugstad. Make certain we close what we open, and don't try to close invalid files when /etc/filesystems exists and is used.
2003-07-22Error out early if people try to build mount with nfs supportEric Andersen
using uClibc, but have not enabled UCLIBC_HAS_RPC... -Erik
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-06-20Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display aEric Andersen
"rootfs" entry as well as the traditional "/dev/root" entry. This caused applets such as mount and df to display two root filesystem entries.... This teaches the relevant utilities to ignore the "rootfs" entry. -Erik
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-28There is no good reason to prevent nfs mounts from being mountedEric Andersen
during 'mount -a'. If the user wants to do that, hey, its their lifs. If the nfs server is down and they don't want to wait for nfs to time out, that is their problem. -Erik
2002-12-05Kill CONFIG_FEATURE_USE_DEVPS_PATCH and the devps patch. I'm notEric Andersen
maintaining it anymore, and it is now terribly out of date. -Erik
2002-08-23Run through indent, styleGlenn L McGrath
2002-08-22Run through indent, fix commentsGlenn L McGrath
2002-07-25Fix for bug #1255 -- support for mount -t <type>Robert Griebl
2002-07-24Add support for /etc/filesystem when searching for an "auto" filesystemRobert Griebl
This is bug #1246
2002-06-22Kill dead email addressEric Andersen
-Erik
2002-06-22Apply last_patch46 from vodz, to fix buffer overflows noted byEric Andersen
Gerardo Puga, and to optimize for size a little bit. Thanks vodz
2002-05-14Entries with "noauto" options are ignored correctly when mounting allRobert Griebl
("mount -a"), but mount fails when these entries are specified explicitly In these cases the "noauto" option has to be simply ignored.
2002-04-13Patch from Kevin Hilman <khilman@equator.com> to fix potentialEric Andersen
memory corruption from long pathnames in /etc/fstab.
2002-04-13Update some missing copyright noticesEric Andersen
2002-04-06Apply lash_patch35 from vodz, which brings several nice size_optimizations.Eric Andersen
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-12-06Avoid NULL pointer problems. Patch from "Frank P. MacLachlan"Eric Andersen
<fpm-plutus@tgs.indyme.com>
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
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.