[PATCH] stat: reduce storage for human-readable filesystem names

Denys Vlasenko vda.linux at googlemail.com
Fri Apr 12 10:02:51 UTC 2019


On Mon, Mar 18, 2019 at 12:15 PM Ron Yorston <rmy at pobox.com> wrote:
>
>    text    data     bss     dec     hex filename
>  930028    4199    1888  936115   e48b3 busybox_old
>  929753    4199    1888  935840   e47a0 busybox_unstripped

The difference is suspiciously large.
> +# define FS_TYPE(type, name) type,
> +       uint32_t fstype[] = {

Should be "static const" ?

Applied with some changes. Thanks.


More information about the busybox mailing list