From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 11:05:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E431516A4BF for ; Thu, 28 Aug 2003 11:05:47 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1875443FBD for ; Thu, 28 Aug 2003 11:05:47 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h7SI5k1m085149; Thu, 28 Aug 2003 13:05:46 -0500 (CDT) (envelope-from dan) Date: Thu, 28 Aug 2003 13:05:46 -0500 From: Dan Nelson To: Denis Troshin Message-ID: <20030828180546.GB2849@dan.emsphone.com> References: <1671561231.20280829005225@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1671561231.20280829005225@mail.ru> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Necessary code or trash? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Aug 2003 18:05:48 -0000 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