Date: Thu, 28 Aug 2003 13:05:46 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Denis Troshin <weiv@mail.ru> Cc: freebsd-questions@freebsd.org Subject: Re: Necessary code or trash? Message-ID: <20030828180546.GB2849@dan.emsphone.com> In-Reply-To: <1671561231.20280829005225@mail.ru> References: <1671561231.20280829005225@mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030828180546.GB2849>