aboutsummaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* chrt: remove warning for _POSIX_PRIORITY_SCHEDULINGBernhard Reutner-Fischer2013-07-081-3/+0
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ubi_tools: enhance -s option to allow size multiplier to match mtd-utilsDenys Vlasenko2013-06-301-1/+8
| | | | | | | | | | Based on patch by Paul B. Henson <henson@acm.org> function old new delta static.size_suffixes - 32 +32 ubi_tools_main 1141 1148 +7 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubi_tools: add forgotten argv++Denys Vlasenko2013-06-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubi_tools: extend supported volume size to 64 bits; shrink codeDenys Vlasenko2013-06-301-149/+154
| | | | | | | | | | | function old new delta get_num_from_file - 90 +90 packed_usage 29395 29377 -18 ubi_tools_main 1349 1141 -208 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 90/-226) Total: -136 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubimkvol: add -m option to create volume of maximum sizePaul B. Henson2013-06-301-6/+45
| | | | | Signed-off-by: Paul B. Henson <henson@acm.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setserial: Fix typo: s/baund_rate/baud_rate/gBernhard Reutner-Fischer2013-03-221-2/+2
| | | | | | as noted by Christoph Handel opensource at macht-blau.org Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* flash_eraseall: implement -NAlexander Shiyan2013-03-151-7/+8
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nanddump: fix build if nandwrite isn't enabledAlexander Shiyan2013-03-151-4/+4
| | | | | Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flashcp: trivial code shrinkDenys Vlasenko2013-01-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flashcp: pad output to BUFSIZE. Hopefully closes 5882Denys Vlasenko2013-01-231-11/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: code shrinkDenys Vlasenko2013-01-181-10/+10
| | | | | | | | function old new delta stack_machine 103 101 -2 operators 176 168 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixes. no code changesDenys Vlasenko2013-01-155-22/+22
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanup. no code changesDenys Vlasenko2013-01-143-23/+23
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixes. no code changesDenys Vlasenko2013-01-142-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CONFIG_PID_FILE_PATH: new configuration option for pidfile pathsAnthony G. Basile2012-12-192-1/+4
| | | | | | | | | | | | | | | We set a default path for the directory where pidfiles are create when FEATURE_PIDFILE is selected. The default has no effect on applets which must specify a pidfile path on the command line to run, and it can be overridden by applets which optionally allow the user to specify the pidfile path. We also add pidfile write/remove support for klogd, ntpd and watchdog. For syslogd, we add a missing remove_pidfile() for better cleanup on daemon exit. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fbsplash: fix regression from e4fa7b7Timo Teräs2012-10-171-3/+2
| | | | | | | | commit e4fa7b7 (limit progress bar flicker) made the progress bar counter unsigned causing i < 0 to never come true. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nanddump: invert the meaning of the -o parameter to match upstreamBaruch Siach2012-10-151-4/+4
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nanddump: skip bad blocks when instructed to do soBaruch Siach2012-10-151-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* nanddump: use the right operator of logic ANDBaruch Siach2012-10-151-1/+1
| | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* flashcp: remove unused variable optsManuel Zerpies2012-09-271-2/+1
| | | | | Signed-off-by: Manuel Zerpies <manuel.f.zerpies@ww.stud.uni-erlangen.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: support non-RGB565 pixels in 16-bit modeLinus Walleij2012-09-061-5/+22
| | | | | | | | | function old new delta fbsplash_main 953 989 +36 fb_pixel_value 80 110 +30 Signed-off-by: Linus Walleij <triad@df.lth.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include sys/resource.h where neededMike Frysinger2012-07-051-0/+1
| | | | | | | | We use functions from sys/resource.h in misc applets, but don't include the header. This breaks building with newer glibc versions, so add the include where needed. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* nanddump: make dumping read-only partitions workMatt Reimer2012-06-131-1/+1
| | | | | | | | Make dumping read-only partitions work by opening the device O_RDONLY; otherwise the open() will fail with -EPERM. Signed-off-by: Matt Reimer <mreimer@sdgsystems.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* man: fix handling of gzipped manpagesDenys Vlasenko2012-06-081-10/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* who,less: tweaked help textDenys Vlasenko2012-04-171-7/+6
| | | | | | | function old new delta packed_usage 29176 29173 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ubi_tools: add workaround for bad kernel headers. Closes 4838Denys Vlasenko2012-03-111-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory cleanups for seamless uncompression improvementsDenys Vlasenko2012-03-061-23/+18
| | | | | | | | | | | | unpack_gz_stream_with_info: fix buggy error check man: fix possible accesses past the end of a string move seamless uncompression helpers from read_printf.c to open_transformer.c function old new delta show_manpage 153 212 +59 unpack_gz_stream_with_info 520 539 +19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: use line_length instead of xres * bytes_per_pixelYin Kangkai2012-02-291-8/+8
| | | | | | | | | | | | | | | In some system (e.g. my "strange" device), line_length is not equal xres * bytes_per_pixel, so we need to use line_length in scr_fix to mmap and draw rectangle etc. My "strange" device output this: bytes_per_pixel: 4 xres: 600, yres: 1024 yoffset: 0, xoffset: 0, line_length: 2432 G.addr: b74da000 Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rx: fix file corruption on block checksum failureDaniel Fandrich2011-11-231-0/+1
| | | | | | | | Rather than dropping the bad block, rx was appending it to the file. Signed-off-by: Daniel Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rx: code shrinkDenys Vlasenko2011-11-031-13/+7
| | | | | | | function old new delta rx_main 961 947 -14 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rx: Fix file corruption with duplicate blocksDan Fandrich2011-11-031-0/+1
| | | | | | | Rather than dropping the dupe, rx was appending it to the file. Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2011-10-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: support 8bit modePeter Korsgaard2011-10-171-5/+64
| | | | | | | | | | | | | | | Fake truecolor support using a RGB:332 palette. function old new delta fb_setpal - 172 +172 fbsplash_main 920 953 +33 fb_pixel_value 50 80 +30 fb_write_pixel 47 51 +4 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/0 up/down: 239/0) Total: 239 bytes Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fbsplash: limit progress bar flickerPeter Korsgaard2011-10-171-11/+19
| | | | | | | | | | | | | | | Progress bar updates flicker quite a bit on slow hw / high resolutions as the background is completely cleared before the new progress bar position is drawn on top. Improve it by first drawing the progress bar and then only fill the remaining rows with the background. function old new delta fb_drawprogressbar 444 429 -15 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* inotify: if PROG is -, print events to stdoutFlemming Madsen2011-10-101-6/+15
| | | | | | | | | function old new delta inotifyd_main 516 589 +73 packed_usage 28698 28709 +11 Signed-off-by: Flemming Madsen <busybox@themadsens.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename archive.h to bb_archive.h. no code changesDenys Vlasenko2011-09-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add INIT_G()'s. No code changes.Denys Vlasenko2011-09-211-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy: add framebuffer support, -Q option.Pascal Bellard2011-09-131-43/+71
| | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* crond: fix the case when option -d is disabledDenys Vlasenko2011-09-071-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixes for warnings in FreeBSD buildDenys Vlasenko2011-08-281-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: fix for screen size detectionDenys Vlasenko2011-08-161-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* conspy,nandwrite,nanddump: enable in defconfigDenys Vlasenko2011-08-132-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: add a TODO commentDenys Vlasenko2011-07-251-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* less: optionally query terminal size via "ESC [ 6 n". Closes bug 2659.Denys Vlasenko2011-07-252-81/+117
| | | | | | +7 bytes is not selected, +100 if selected. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dc: fix a case where we can run off malloced spaceDenys Vlasenko2011-07-151-18/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* a few tweaks for bionicDenys Vlasenko2011-07-082-2/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fixesDan Fandrich2011-07-081-1/+1
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* setserial: added missing \n in help textDan Fandrich2011-06-201-1/+1
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove "Options:" string from help textsDenys Vlasenko2011-06-0523-36/+8
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* makedevs: fix help-textBernhard Reutner-Fischer2011-05-301-1/+1
| | | | | | | pull http://git.buildroot.net/buildroot/commit/?id=99ead3c2ead605d6504b9abad111778dc2a93ae6 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>