busybox/util-linux
Malek Degachi 1d39e33d46 fstrim: New applet
fstrim applet is a port from util-linux.

"Trimming" your NAND/eMMC storage will restore the write performance
back to normal after having slow down issues on sequential write and
random write due to usage over time.

Good reading on subject:
http://forum.xda-developers.com/showthread.php?t=1971852

(with long options and CLEAN_UP turned on)
function                                             old     new   delta
.rodata                                           148494  148791    +297
fstrim_main                                            -     283    +283
fstrim_sfx                                             -     128    +128
packed_usage                                       28826   28903     +77
applet_main                                         2760    2768      +8
applet_names                                        2343    2350      +7
applet_nameofs                                       690     692      +2
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 5/0 up/down: 802/0)             Total: 802 bytes

Signed-off-by: Malek Degachi <malek-degachi@laposte.net>
Cc: Eugene San (eugenesan) <eugenesan@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-11-09 22:14:33 +01:00
..
volume_id volume_id: add f2fs detection 2013-08-01 11:05:08 +02:00
acpid.c CONFIG_PID_FILE_PATH: new configuration option for pidfile paths 2012-12-19 15:53:33 -05:00
blkid.c blkid: if parameters are given, do not scan /dev 2012-03-03 15:09:07 +01:00
blockdev.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
Config.src fstrim: New applet 2013-11-09 22:14:33 +01:00
dmesg.c dmesg: handle multi-char log levels 2013-01-05 21:02:14 -05:00
fbset.c fbset: respect rgba configuration lines in fb.modes 2012-07-07 19:58:15 +02:00
fdformat.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
fdisk_aix.c
fdisk_gpt.c Make smart_ulltoa return pointer to end (allows for code shink in callers) 2013-09-06 12:53:14 +02:00
fdisk_osf.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
fdisk_sgi.c
fdisk_sun.c fdisk_sun: fix partition alignment 2013-02-11 00:22:59 +01:00
fdisk.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
findfs.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
flock.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
freeramdisk.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
fsck_minix.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
fstrim.c fstrim: New applet 2013-11-09 22:14:33 +01:00
getopt.c getopt: improve help text; code shrink 2013-01-24 11:36:00 +01:00
hexdump.c Commonalize typical [b,]k,m suffix struct 2013-07-13 23:49:45 +02:00
hwclock.c hwclock: fix wrong comparison of time value (when it will overlow int) 2012-04-17 19:25:13 +02:00
ipcrm.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
ipcs.c whitespace cleanup. no code changes 2013-01-14 15:57:44 +01:00
Kbuild.src fstrim: New applet 2013-11-09 22:14:33 +01:00
losetup.c losetup: assorted fixes. Closes 6314 2013-06-27 03:45:16 +02:00
lspci.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
lsusb.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
mdev.c mdev: use $DEVNAME in uevent sysfs file for device node name 2013-05-13 03:55:11 +02:00
minix.h
mkfs_ext2_test.sh
mkfs_ext2.c mount: fix the wrongly stored fs creation time 2012-06-21 16:50:46 +02:00
mkfs_ext2.txt
mkfs_minix.c mkfs_minix: use get_volume_size_in_bytes instead of local version 2013-03-18 02:26:58 +01:00
mkfs_reiser.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mkfs_vfat.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
mkswap.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
more.c *: better comments on termios manipulations. No code changes. 2012-01-15 23:00:13 +01:00
mount.c mount: whitespace fix. no code changes 2013-01-22 11:00:45 +01:00
pivot_root.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
rdate.c rdate: code shrink 2012-06-11 14:57:29 +02:00
rdev.c *: style fixes. no code changes 2011-12-15 12:39:25 +01:00
readprofile.c whitespace fixes. no code changes 2013-01-14 01:34:48 +01:00
rev.c
rtcwake.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
script.c *: remove "Options:" string from help texts 2011-06-05 03:58:28 +02:00
scriptreplay.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
setarch.c move remaining help text from include/usage.src.h 2011-04-11 03:29:49 +02:00
swaponoff.c swaponoff: shrink 2013-11-08 09:05:25 +01:00
switch_root.c libbb: make xchroot do a chdir("/") after chroot 2012-03-08 00:28:24 +01:00
umount.c umount: make -d always active, add -D to suppress it 2012-04-17 13:07:28 +02:00