[BusyBox] Re: About e2p dir

Mike Frysinger vapier at gentoo.org
Mon May 2 14:24:46 UTC 2005


On Monday 02 May 2005 09:09 am, Tito wrote:
> and I'm wondering why in the e2p dir there are some unused
> files?
> Could they be deleted?
> Are they there for future use?

it's a simple copy from the e2fsprogs libdir ... some files are unused by 
{ls,ch}attr, but a bunch are used by mke2fs/fsck/e2fsck

> BTW: would you like to test my patch when it is done as i
> have no idea what lsattr and chattr are for and how they work.

they're used to view/modify ext2-specific attributes ... simply do `lsattr 
<file>` and it will normally show you something like:
------------- file

to test try doing stuff like:
busybox chattr +i <file>
busybox lsattr <file>
----i------- file

(note i hand typed the output so it's just an approx :P)

> Size reduction so far is:
> root at localhost:/dev/pts/5:/root/Desktop/busybox_orig# size busybox
>    text    data     bss     dec     hex filename
>  270439    8632  167204  446275   6cf43 busybox
> root at localhost:/dev/pts/3:/root/Desktop/busybox# size busybox
>    text    data     bss     dec     hex filename
>  270361    8628  167204  446193   6cef1 busybox

nice ... do you have the stats on individual objects ? (lsattr.o / chattr.o / 
e2p.o)
-mike



More information about the busybox mailing list