[BusyBox-cvs] svn commit: trunk/busybox: coreutils include libbb miscutils util-l etc...
landley at busybox.net
landley at busybox.net
Wed Aug 10 20:35:55 UTC 2005
Author: landley
Date: 2005-08-10 14:35:54 -0600 (Wed, 10 Aug 2005)
New Revision: 11099
Log:
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk
things down a bit, fixed a number of funky corner cases, added support for
several new features (things like mount --move, mount --bind, lazy unounts,
automatic detection of loop mounts, and so on). Probably broke several
other things, but it's fixable. (Bang on it, tell me what doesn't work for
you...)
Note: you no longer need to say "-o loop". It does that for you when
necessary.
Still need to add "user mount" support, which involves making mount suid. Not
too hard to do under the new infrastructure, just haven't done it yet...
The previous code had the following notes, that belong in the version
control comments:
- * 3/21/1999 Charles P. Wright <cpwright at cpwright.com>
- * searches through fstab when -a is passed
- * will try mounting stuff with all fses when passed -t auto
- *
- * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab.
- *
- * 1999-10-07 Erik Andersen <andersen at codepoet.org>.
- * Rewrite of a lot of code. Removed mtab usage (I plan on
- * putting it back as a compile-time option some time),
- * major adjustments to option parsing, and some serious
- * dieting all around.
- *
- * 1999-11-06 mtab support is back - andersee
- *
- * 2000-01-12 Ben Collins <bcollins at debian.org>, Borrowed utils-linux's
- * mount to add loop support.
- *
- * 2000-04-30 Dave Cinege <dcinege at psychosis.com>
- * Rewrote fstab while loop and lower mount section. Can now do
- * single mounts from fstab. Can override fstab options for single
- * mount. Common mount_one call for single mounts and 'all'. Fixed
- * mtab updating and stale entries. Removed 'remount' default.
- *
Modified:
trunk/busybox/coreutils/df.c
trunk/busybox/include/libbb.h
trunk/busybox/libbb/find_mount_point.c
trunk/busybox/libbb/find_root_device.c
trunk/busybox/libbb/loop.c
trunk/busybox/libbb/mtab.c
trunk/busybox/miscutils/eject.c
trunk/busybox/util-linux/Config.in
trunk/busybox/util-linux/losetup.c
trunk/busybox/util-linux/mount.c
trunk/busybox/util-linux/nfsmount.c
trunk/busybox/util-linux/umount.c
Changeset:
Sorry, the patch is too large to include (1815 lines).
Please use ViewCVS to see it!
http://busybox.net/cgi-bin/viewcvs.cgi?view=rev&root=svn&rev=11099
More information about the busybox-cvs
mailing list