[PATCH] new e2fsprogs size reduction patch

Tito farmatito at tiscali.it
Wed Sep 28 15:43:54 UTC 2005


Hi,
This patch:
1) Fixes some bugs found in my previous mke2fs patches (now obsolete);
2) Reduces size of tune2fs;
3) Reduces size of mke2fs;
4) Moves some common code in mke2fs and tune2fs to util.c;
5) Fixes some little memory leaks when ENABLE_FEATURE_CLEAN_UP is set.

Size reduction is:
   text    data     bss     dec     hex filename
  11522      16    1108   12646    3166 e2fsprogs/mke2fs.o.orig
  10040      16    1104   11160    2b98 e2fsprogs/mke2fs.o

    6994      20       144     7158    1bf6  e2fsprogs/tune2fs_orig.o
    6256      20       144     6420    1914 e2fsprogs/tune2fs.o

Here we have a little increase: 
   1450         0            0     1450      5aa e2fsprogs/util.o.orig
   1915         0            0     1915      77b e2fsprogs/util.o

Overall size reduction is:
   text    data     bss     dec     hex filename
 315989    4412   39540  359941   57e05 busybox.orig
 314389    4412   39540  358341   577c5 busybox

The patch was tested a little, so please help in testing
and apply if you like it.

Ciao,
Tito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e2fsprogs.patch
Type: text/x-diff
Size: 36117 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20050928/2d79d078/attachment.bin 


More information about the busybox mailing list