[PATCH] fstrim: new applet

souf souf_oued at yahoo.fr
Sat Mar 24 13:06:37 UTC 2012


Hi list,

This patch adds a new applet: fstrim.

fstrim is used on a mounted filesystem to discard (or "trim") blocks 
which are not in use by the filesystem. This is useful for solid-state 
drives (SSDs) and thinly-provisioned storage.

function                                             old     new   delta
.rodata                                           147233  147545    +312
fstrim_main                                            -     276    +276
fstrim_sfx                                             -     128    +128
packed_usage                                       28175   28251     +76
applet_main                                         2768    2776      +8
applet_names                                        2368    2375      +7
applet_nameofs                                       692     694      +2
applet_install_loc                                   173     174      +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 810/0)       Total: 810 bytes

Regards.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fstrim.patch
Type: text/x-patch
Size: 5246 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20120324/1f7ccfa7/attachment.bin>


More information about the busybox mailing list