From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 20:15:38 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 04E1016A41F for ; Fri, 28 Oct 2005 20:15:38 +0000 (GMT) (envelope-from scode@starfury.scode.org) Received: from starfury.scode.org (starfury.scode.org [194.145.249.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AA6143D5C for ; Fri, 28 Oct 2005 20:15:36 +0000 (GMT) (envelope-from scode@starfury.scode.org) Received: by starfury.scode.org (Postfix, from userid 1001) id 409929A8857; Fri, 28 Oct 2005 22:15:34 +0200 (CEST) Date: Fri, 28 Oct 2005 22:15:34 +0200 From: Peter Schuller To: Denis Troshin Message-ID: <20051028201533.GA9896@starfury.scode.org> 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> User-Agent: Mutt/1.5.11 Cc: freebsd-questions@freebsd.org Subject: Re: Necessary code or trash? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 20:15:38 -0000 > 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? Presumable they are statically linked; I believe 5.0 falls before the switch to a dynamically linked /bin by default. (See eg http://kerneltrap.org/node/1628) -- / Peter Schuller, InfiDyne Technologies HB PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org