aboutsummaryrefslogtreecommitdiff
path: root/coreutils
AgeCommit message (Collapse)Author
2005-08-10Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley
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-09implemented a builtin echo command in ash. moved the guts of thePaul Fox
echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
2005-08-01commiting patch from bug 71:Paul Fox
0000071: patch: implement "--color" option for ls coloring control
2005-07-30tell people to ignore the dups/e0 warningsMike Frysinger
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-26remove unused variable ret as reported by apgo in Bug 350 and touchup syntax ↵Mike Frysinger
along the way
2005-07-26just punt all the f_frsize crap since not all linux headers support it Bug 346Mike Frysinger
2005-07-20applying fix for:Paul Fox
0000265: tail -f should keep following files even if they were truncated
2005-07-20applying patch from:Paul Fox
0000227: sort use wrong type for getopt return variable
2005-07-20If /tmp and /home were different partitions, then "mv /tmp/file /home/file"Rob Landley
would delete /home/file even if /tmp/file didn't exist. This fixes that, although the logic of both mv and cp is a bit tangled and should probably be untangled.
2005-07-01Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and ↵Mike Frysinger
WTMP options
2005-06-30patch by Shaun Jackman to combine dup/close funcs into dup2Mike Frysinger
2005-06-29dont use f_frsize unless linux-2.6.0 or betterMike Frysinger
2005-06-24tweak signed/unsigned char usage to avoid mismatchesMike Frysinger
2005-05-28Shaun Jackman submitted a patch converting an allocation to useRob Landley
CONFIG_RESERVE_BUFFER. (Rob Landley removed an #ifdef, per discussion on the list.)
2005-05-28Patch from Shaun Jackman to save a few bytes.Rob Landley
2005-05-16use more busybox functions and remove redundant codeMike Frysinger
2005-05-13as Rob Landley pointed out, need to fix the 1 versus i typo in indexingMike Frysinger
2005-05-13blah, forgot to save last time to fix whitespacingMike Frysinger
2005-05-13remove duplicated code and rework algorithms to end up with smaller codeMike Frysinger
2005-05-12use a bunch of if statements since it is a few bytes smaller than a switch; ↵Mike Frysinger
also use bb_xfopen() instead of fopen() so comm doesnt segfault when given non-existant files :(
2005-05-12err, added 2 to the wrong var :) also touchup the option detection to shrink ↵Mike Frysinger
size
2005-05-12fix segfault if user only specifies 1 fileMike Frysinger
2005-05-12fix whitespace/coding styleMike Frysinger
2005-05-12add missing comm.o ruleMike Frysinger
2005-05-12whitespace touchupsMike Frysinger
2005-05-11Small comm implementatin from Rob Sullivan. Needed to build perl.Rob Landley
2005-05-11change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger
(BB_GETOPT_ERROR)
2005-05-09Patch from Shaun Jackman:Rob Landley
> This patch modfies expr to use portable POSIX regex rather than BSD > regex. ... > This updated patch implements an anchored regex by checking that the > match starts at offset 0. More to the point, this patch uses the same regex that sed.c is already using (opportunity to suck in less library code), and even building a dynamically linked busybox with just expr the result is a slightly smaller binary (by 94 bytes, I dunno what nm --size-sort has to say about it because I didn't build with debug info, since that changes the binary size a lot by disabling optimization...) Your mileage may vary. Handle with caution. Do not taunt happy fun ball.
2005-05-07Manuel points out that if printf needs a flush to act like dprintf, the resultRob Landley
is bigger. Revert last patch.
2005-05-07Shaun Jackman pointed out that dprintf(STDOUT_FILENO,...) is just a printf.Rob Landley
2005-05-03A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley
2005-04-30On Wednesday 13 April 2005 09:12 pm, Shaun Jackman wrote:Rob Landley
> This patch fixes a memory leak in hash_file by using the BUFFER macros > instead of xmalloc. Please apply.
2005-04-29Patch from Matthew S. Wood:Rob Landley
> The following patch adds support for the -S and -b flags to `ln'. These > flags [especially -b] are used extensively in Debian pre and post > installation scripts. Comments from Vladimir Oleynik influenced the final patch, and I also ripped out the in-file changelog since it belongs here. At the time, it said: /* Apr 15, 2004 Matthew S. Wood (mwood@realmsys.com) * * Implement '-b' (backup) flag. * Implement '-S' (backup suffix) flag. * * * Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) * * Fixed bug involving -n option. Essentially, -n was always in effect. */
2005-04-26fix stupid build mistake i made earlier as pointed out by psmMike Frysinger
2005-04-24rework human_fstype to cut down sizeMike Frysinger
2005-04-24rework options to get rid of extra variablesMike Frysinger
2005-04-23stat implementation based upon coreutilsMike Frysinger
2005-04-23cast the time pointer so gcc stops warning over nothingMike Frysinger
2005-04-23use bb_fflush_stdout_and_exit instead of exitMike Frysinger
2005-04-21grab sum from coreutils, clean it up, and make it busybox happyMike Frysinger
2005-04-21add a printenv implementationMike Frysinger
2005-04-21fix whitespaceMike Frysinger
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2005-04-16In Bug 208, bernhardf writes:Mike Frysinger
On machines with only ANSI compliant compilers, not explitily delcaring an empty parameter list 'void' causes failure.
2005-04-14fake out support for POSIX -H and -L options since busybox cp dereferences ↵Mike Frysinger
everything by default
2005-04-14add aliases == and [[ for = and [ to support more bash scriptsMike Frysinger
2005-02-13Add 'nice' and replace 'renice' with a new implementation.Manuel Novoa III
2005-01-24Sort rewrite to be SUSv3 compliant. New config option, updated help, andRob Landley
a couple of infrastructure bits.
2005-01-07cp: make -P a synonym for -dMike Frysinger