aboutsummaryrefslogtreecommitdiff
path: root/miscutils
AgeCommit message (Collapse)Author
2004-04-05Tito, farmatito at tiscali dot it writes:Eric Andersen
Hi to all, I discovered a little bug in hdparm.c (really two little bugs...I've made...sigh! Mea culpa). Some vars were modified only locally and this could lead to wrong results to be displayed with the -I switch and maybe with others. Attached is a patch that fix it ( +88b). Also attached is second patch that reduces the size a little bit: text data bss dec hex filename 27984 624 900 29508 7344 hdparm.o (without bug-fix) 28072 624 900 29596 739c hdparm.o (with bug-fix) 28141 624 900 29665 73e1 hdparm.o (original) but maybe this one can wait as we are in a feature freeze. Ciao, Tito
2004-03-20Tito noticed a printf that should have been a bb_error_msg.Eric Andersen
2004-03-19Fix broken arg parsing (was not passing pointer to items so p, argc, and argvEric Andersen
were only modified locally). Fix error reporting to properly describe why ioctls fail.
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-02-22Patch from Florian Schirmer. compile fix for debug buildsGlenn L McGrath
2004-02-22Fixup braces (patch from Thomas Geulig), run through indent and manuallyGlenn L McGrath
adjust.
2004-02-14Avoid naming conflict with symbol in newer glibc headersEric Andersen
2004-02-04Bug fix from Tito.Glenn L McGrath
2003-12-23Fix compile error, the indenting really needs to be fixed hereGlenn L McGrath
2003-12-20New applet, rx, by Christopher HooverGlenn L McGrath
2003-12-19Tito writes:Eric Andersen
Hi to all, here is a new patch for bb's devfsd. The news are: 1) Size reduction for the basic setup with no options compiled in from : text data bss dec hex filename 10591 392 543 11526 2d06 devfsd.o rw-r--r-- 1 root root 18536 Dec 18 21:52 devfsd.o to: text data bss dec hex filename 9303 392 543 10238 27fe devfsd.o rw-r--r-- 1 root root 16528 Dec 18 22:02 devfsd.o With this setup you should not expect much output from devfsd ( just at start or with -v) and if some error occurs it only exits 1. To have more output enable: " Increases logging (and size)" (+1568 b). 2) The option "Adds function names to program output" was removed from config menu and now to enable debug output you can use bb's standard option: "Build BusyBox with Debugging symbols". Be careful as with this option enabled a lot of data are outputted to /dev/log and/or to stderr. 3) A new option: "Enables the -fg and -np option" was added to config menu (+128 b). BTW: option "Adds support for MODLOAD keyword in devsfd.conf" adds 268 b. 4) The following keywords in devsfd.conf are supported: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". But only if they are written UPPERCASE!!!!!!!! 5)Help text in usage.h was modified. 6)Something that I have forgotten.......... I've tested this for the last week on my box and it seems to work as expected. Thanks in advance and please apply. Ciao, Tito
2003-12-15Get vfork_daemon_rexec working under uclinuxRuss Dill
2003-12-12Fix compile when CONFIG_FEATURE_HDPARM_GET_IDENTITY is disabledEric Andersen
2003-11-30Patch from Tito, size optimisation, cleanup noise when in debuggingGlenn L McGrath
mode, adds support for MODLOAD keyword in devfsd.conf, provides a cleaned up version of example/devfsd.conf
2003-11-28Correct Matteo's email addressGlenn L McGrath
2003-11-07Patch from Steven Scholz to send the output from 'time'Eric Andersen
to stderr, rather than stdout, so that things like ~ # time bunzip2 -c /tmp/test.bz2 > /dev/null real 0m 29.44s user 0m 29.30s sys 0m 0.12s operate as expected.
2003-10-22the dc applet now needs libmEric Andersen
-Erik
2003-10-22Goetz Bock writes:Eric Andersen
Dear list, during my quest do pack busybox into an RPM, I've fixed a small bug (missing \n) in dc's usage. And added two additional operations: mod and exp/power. Feel free to drop them.
2003-10-22last_patch116 from vodz:Eric Andersen
Stephane, >Using busybox+uclibc, crond syslog messages look like: > >Oct 9 09:04:46 soekris cron.notice crond[347]: ^Icrond 2.3.2 dillon, >started, log level 8 Thanks for testing. >The attached patch corrects the problem. Your patch is not correct. Correct patch attached. Also. Last patch have - add "Broken pipe" message to ash.c - busybox ash synced with dash_0.4.18 --w vodz
2003-10-22Tito writes:Eric Andersen
Hi to all, I'm sorry but I didn't spot this big fat bug until now, Matteo Croce emailed me about it. Please apply this patch as the devfsd applet is broken and works only on a system booted with a standard devfsd ( the test I mostly did :-( ), but if used at boot time it DOESN'T WORK. Thanks in advance and please apply Tito
2003-10-22Andreas Mohr writes:Eric Andersen
the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
2003-10-17old gccTim Riker
2003-10-09Do not use kernel headersEric Andersen
2003-10-09New applet, devfsd, by Matteo Croce and TitoGlenn L McGrath
2003-10-09Patch from Steven Scholz, fix some warningsGlenn L McGrath
2003-10-09Patch from Tito, size optimisation and fix error in exit code of -VGlenn L McGrath
option
2003-09-15Patch from Tito, Reduces the size of busybox's strings applet from 1900 toGlenn L McGrath
1788 bytes (for strings.o).
2003-09-15Update Matteo Croce's email addressGlenn L McGrath
2003-09-03more crond+crontab integrating with loginutil libbb functions and deletedGlenn L McGrath
patch from Thomas Gleixner to init. Viodz last_patch_108
2003-09-02move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath
constant. Vodz last_patch_107
2003-08-30save a couple of bytesGlenn L McGrath
2003-08-29"A little patch for the strings applet of the busybox development treeGlenn L McGrath
that substitutes two lines of code with a libbb function saving a couple of bytes." - Tito
2003-08-28"Typo and/or thinko: scanning till the end of NUL terminated stringGlenn L McGrath
should check the byte pointed at not the pointer itself." -junkio@
2003-08-08Implement a minimalist 'last' which allows the LEAF project toEric Andersen
no longer need dumtp. Remove the 'dumtp' applet. -Erik
2003-08-08quiet some noiseEric Andersen
2003-08-06Patch from Steven Scholz:Eric Andersen
should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch?
2003-08-06Sync hdparm -t and -T options with hdparm-5.3, which seemsEric Andersen
to produce sensible results,
2003-07-28Avoid shadowing built-in function `log'Eric Andersen
2003-07-28Fixup bugs in last patchEric Andersen
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-07-26Some additional description based on a patch from Terje KvernesEric Andersen
2003-07-22Write some more docsEric Andersen
2003-07-22Remove the update utility, that is only relevant to older 2.0.x kernelsEric Andersen
that are no longer supported.
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-22Paul Mundt <lethal@linux-sh.org> writes:Eric Andersen
Here's a bunch of fixes for the watchdog app in busybox. This does a couple of things: - configurable timer duration (userspace timer duration is usually configurable within the device drivers themselves). - run as a daemon - shutdown the device properly on SIGINT or SIGHUP - clear the counter immediately instead of sleeping first as well as updating the usage information. This has also been switched over to getopt to deal with the optional timer duration specifier. The changes themselves are harmless and isolated, and I've veried that this works on sh and x86 without any problems.
2003-07-22Matteo Croce submitted a hdparm applet.Eric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-14Patch from Thomas Cameron:Eric Andersen
Hello all, This patch adds more "Help" text to the config system. Almost all applets now have a help entry. Also, I cleaned up the spacing of the existing text so that things are consistent. This patch is against this morning's CVS. Thomas Cameron CEI Systems, Inc.
2003-07-14Patch from Lars Kellogg-Stedman:Eric Andersen
Busybox vi is installed in /bin/vi, but crontab was looking for /usr/bin/vi. This patch makes crontab look for /bin/vi instead.
2003-06-20last_patch89 from vodz:Eric Andersen
Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz