Necessary code or trash?
Dan Nelson
dnelson at allantgroup.com
Thu Aug 28 11:05:48 PDT 2003
In the last episode (Aug 29), Denis Troshin said:
> I have FreeBSD 5.0-RELEASE.
>
> Why most of bin (sbin) utilities are so big.
>
> For example,
>
> rm - 410 268 bytes,
> mv - 407 568 bytes,
> date - 423 748 bytes.
>
> Do they really contain only necessary code or
> have more than a half of trash?
>
> If you think my question is very stupid to answer,
> please give a few links to read about this problem.
They are statically-linked, which means that each binary includes libc.
The next release of 5.x will allow you to build /bin and /sbin
dynamically-linked if you need the space.
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-questions
mailing list