hush/coreutils
Rob Landley 6a6798b8e4 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@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@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@debian.org>, Borrowed utils-linux's
- *              mount to add loop support.
- *
- * 2000-04-30  Dave Cinege <dcinege@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.
- *
2005-08-10 20:35:54 +00:00
..
libcoreutils use toplevel ARFLAGS and update default ARFLAGS to be quiet 2005-07-27 01:09:24 +00:00
basename.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
cal.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
cat.c As we no longer use function pointers for read in common archiving code 2003-11-21 22:24:57 +00:00
chgrp.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
chmod.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
chown.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
chroot.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
cmp.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
comm.c as Rob Landley pointed out, need to fix the 1 versus i typo in indexing 2005-05-13 03:09:20 +00:00
Config.in implemented a builtin echo command in ash. moved the guts of the 2005-08-09 19:38:05 +00:00
cp.c fake out support for POSIX -H and -L options since busybox cp dereferences everything by default 2005-04-14 02:52:50 +00:00
cut.c change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR) 2005-05-11 00:39:03 +00:00
date.c Shaun Jackman submitted a patch converting an allocation to use 2005-05-28 23:55:26 +00:00
dd.c Avoid symbol naming conflict with libm 2004-01-30 22:24:32 +00:00
df.c Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk 2005-08-10 20:35:54 +00:00
dirname.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
dos2unix.c Steve Grubb writes: 2004-05-05 19:39:21 +00:00
du.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
echo.c implemented a builtin echo command in ash. moved the guts of the 2005-08-09 19:38:05 +00:00
env.c Thats odd. I guess this was cut-n-paste error, but vodz 2004-04-16 15:02:10 +00:00
expr.c Patch from Shaun Jackman: 2005-05-09 21:42:42 +00:00
false.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
fold.c Update my email address, document some of my tasks in the AUTHORS file 2004-04-25 05:11:19 +00:00
head.c Major coreutils update. 2003-03-19 09:13:01 +00:00
hostid.c Major coreutils update. 2003-03-19 09:13:01 +00:00
id.c change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR) 2005-05-11 00:39:03 +00:00
install.c change the hardcoded error constant (0x80000000UL) to a nice flexible define (BB_GETOPT_ERROR) 2005-05-11 00:39:03 +00:00
length.c Major coreutils update. 2003-03-19 09:13:01 +00:00
ln.c Patch from Matthew S. Wood: 2005-04-29 22:13:04 +00:00
logname.c Larry Doolittle writes: 2004-04-14 17:51:38 +00:00
ls.c commiting patch from bug 71: 2005-08-01 19:33:30 +00:00
Makefile egor duda writes: 2004-10-08 07:46:08 +00:00
Makefile.in use toplevel ARFLAGS and update default ARFLAGS to be quiet 2005-07-27 01:09:24 +00:00
md5_sha1_sum.c tweak signed/unsigned char usage to avoid mismatches 2005-06-24 21:37:59 +00:00
mkdir.c last_patch89 from vodz: 2003-06-20 09:01:58 +00:00
mkfifo.c Major coreutils update. 2003-03-19 09:13:01 +00:00
mknod.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
mv.c If /tmp and /home were different partitions, then "mv /tmp/file /home/file" 2005-07-20 00:45:40 +00:00
nice.c Add 'nice' and replace 'renice' with a new implementation. 2005-02-13 20:14:05 +00:00
od.c Felipe Kellermann writes, 2004-07-23 01:42:28 +00:00
printenv.c fix stupid build mistake i made earlier as pointed out by psm 2005-04-26 00:43:19 +00:00
printf.c Patch by Felipe Kellermann, use the common escape handling function and remove some unused code. 2004-09-15 02:05:23 +00:00
pwd.c Major coreutils update. 2003-03-19 09:13:01 +00:00
realpath.c Major coreutils update. 2003-03-19 09:13:01 +00:00
rm.c last_patch89 from vodz: 2003-06-20 09:01:58 +00:00
rmdir.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
seq.c Patch from Felipe Kellermann, fix endless loop when first > last and 2004-07-23 06:43:29 +00:00
sleep.c Major coreutils update. 2003-03-19 09:13:01 +00:00
sort.c applying patch from: 2005-07-20 19:07:27 +00:00
stat.c just punt all the f_frsize crap since not all linux headers support it Bug 346 2005-07-26 22:39:56 +00:00
stty.c Add a missing brace, patch by Hideki IWAMOTO 2004-09-15 03:24:32 +00:00
sum.c use more busybox functions and remove redundant code 2005-05-16 22:35:59 +00:00
sync.c Major coreutils update. 2003-03-19 09:13:01 +00:00
tail.c remove unused variable ret as reported by apgo in Bug 350 and touchup syntax along the way 2005-07-26 22:57:51 +00:00
tee.c If read were to return with an error, bad things would happen. Fix it. 2004-05-26 15:21:19 +00:00
test.c In Bug 208, bernhardf writes: 2005-04-16 04:30:38 +00:00
touch.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
tr.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
true.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
tty.c Major coreutils update. 2003-03-19 09:13:01 +00:00
uname.c Major coreutils update. 2003-03-19 09:13:01 +00:00
uniq.c tell people to ignore the dups/e0 warnings 2005-07-30 08:59:38 +00:00
usleep.c Major coreutils update. 2003-03-19 09:13:01 +00:00
uudecode.c Update my email address, document some of my tasks in the AUTHORS file 2004-04-25 05:11:19 +00:00
uuencode.c Pascal Brisset writes: 2004-01-26 07:17:30 +00:00
watch.c patch by Shaun Jackman to combine dup/close funcs into dup2 2005-06-30 03:43:14 +00:00
wc.c Remove trailing whitespace. Update copyright to include 2004. 2004-03-15 08:29:22 +00:00
who.c cast the time pointer so gcc stops warning over nothing 2005-04-23 01:42:03 +00:00
whoami.c Tito writes: 2004-09-02 22:21:41 +00:00
yes.c Major coreutils update. 2003-03-19 09:13:01 +00:00