busybox/miscutils
Bernhard Reutner-Fischer 0d22d1755c - add flash_eraseall
This is the result after converting mtd-utils' flash_eraseall to BB.
The functionality given by this patch almost the same except that this
one does not support long options.
I needed this tool a system which does not have a lot of flash for RFS
and merging this into BB as the only way out.

[bigeasy@]$ ./scripts/bloat-o-meter bb_wo_fl bb_w_fl
function                                             old     new   delta
flash_eraseall_main                                    -    1072   +1072
show_progress                                          -      62     +62
packed_usage                                       25156   25176     +20
applet_names                                        1958    1973     +15
applet_main                                         2352    2360      +8
target_endian                                          -       4      +4
applet_nameofs                                       588     590      +2
applet_install_loc                                   147     148      +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 5/0 up/down: 1184/0)           Total: 1184 bytes
[bigeasy@]$ size miscutils/flash_eraseall.o
   text    data     bss     dec     hex filename
   1586       4       0    1590     636 miscutils/flash_eraseall.o

Signed-off-by: Benedigt Spranger <b.spranger@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
2009-02-18 13:23:46 +00:00
..
adjtimex.c ifconfig: code shrink 2007-11-04 04:10:17 +00:00
bbconfig.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chat.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chrt.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
Config.in - add flash_eraseall 2009-02-18 13:23:46 +00:00
crond.c crond,crontab: make cron directory location configurable 2009-02-03 23:59:41 +00:00
crontab.c crond,crontab: make cron directory location configurable 2009-02-03 23:59:41 +00:00
dc.c dc: fix the "base 2" patch omission of base not being set 2008-12-30 10:40:05 +00:00
devfsd.c libbb: [x]fopen_for_{read,write} introduced and used. 2008-07-21 23:05:26 +00:00
devmem.c devmem: fixlet in cleanup code 2008-10-26 19:07:43 +00:00
eject.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
fbsplash.c - PPMs can have comments in the header. 2009-02-16 12:36:50 +00:00
fbsplash.cfg fbsplash: cosmetic comment and Config text fixes; rename .ini -> .cfg 2008-03-26 15:12:11 +00:00
flash_eraseall.c - add flash_eraseall 2009-02-18 13:23:46 +00:00
hdparm.c style fixes, no code changes 2008-09-27 14:03:25 +00:00
inotifyd.c inotifyd: save resourses by closing unused inotify descriptors 2008-11-29 09:07:24 +00:00
ionice.c ionice: new applet, adapted from Linux kernel' example by Walter Harms 2009-01-31 21:45:57 +00:00
Kbuild - add flash_eraseall 2009-02-18 13:23:46 +00:00
last_fancy.c whitespace fix 2008-07-09 22:04:37 +00:00
last.c taskset: fix some careless code in both fancy and non-fancy cases. 2008-07-11 13:57:08 +00:00
less.c libiproute: fix buggy open check: s/if (fd)/if (fd >= 0)/ 2008-12-10 14:14:09 +00:00
makedevs.c makedevs: shrink by Vladimir 2008-08-03 22:14:02 +00:00
man.c man: better check for duplicated MANPATH. Also -10 bytes. 2008-11-16 04:05:13 +00:00
microcom.c runsvd: shrink by Vladimir 2008-09-11 19:51:11 +00:00
mountpoint.c mountpoint: add -n option (by Vladimir) 2008-11-29 12:54:16 +00:00
mt.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
raidautorun.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
readahead.c mkswap, readahead: stop using fdlength, it is reported to be unreliable 2008-01-27 23:41:34 +00:00
runlevel.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
rx.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
setsid.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
strings.c strings: code shrink -22 bytes by Tito 2008-11-23 14:58:14 +00:00
taskset.c - update my name. No obj-code changes ;) 2008-09-25 12:13:34 +00:00
time.c time: don't segfault with no arguments 2008-07-11 15:05:51 +00:00
timeout.c timeout: fix a few bugs. vda is stupid 2008-11-24 22:34:47 +00:00
ttysize.c *: fix various kinds of damage to letter 'c' in Arkadiusz Mickiewicz' surname. 2008-03-17 09:29:43 +00:00
watchdog.c watchdog: build fixes, no code changes 2008-12-14 14:49:06 +00:00