From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 23:42:19 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 B126D16A4BF for ; Thu, 28 Aug 2003 23:42:19 -0700 (PDT) Received: from chen.org.nz (chen.org.nz [210.54.19.51]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AED843FA3 for ; Thu, 28 Aug 2003 23:42:18 -0700 (PDT) (envelope-from jonc@chen.org.nz) Received: from grimoire.chen.org.nz (localhost [127.0.0.1]) by chen.org.nz (8.12.9/8.12.9) with ESMTP id h7T6gG4V021298; Fri, 29 Aug 2003 18:42:16 +1200 (NZST) (envelope-from jonc@grimoire.chen.org.nz) Received: (from jonc@localhost) by grimoire.chen.org.nz (8.12.9/8.12.9/Submit) id h7T6gFE0021297; Fri, 29 Aug 2003 18:42:15 +1200 (NZST) (envelope-from jonc) Date: Fri, 29 Aug 2003 18:42:15 +1200 From: Jonathan Chen To: Marc Wiz Message-ID: <20030829064215.GA21268@grimoire.chen.org.nz> References: <1671561231.20280829005225@mail.ru> <20030828213345.GD80772@christabel.starbreaker.net> <20030828214314.GA37687@agora.rdrop.com> <20030829025855.GB9624@freshaire.wiz.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030829025855.GB9624@freshaire.wiz.com> User-Agent: Mutt/1.4.1i cc: FreeBSD Questions 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: Fri, 29 Aug 2003 06:42:19 -0000 On Thu, Aug 28, 2003 at 09:58:55PM -0500, Marc Wiz wrote: > On Thu, Aug 28, 2003 at 02:43:14PM -0700, Alan Batie wrote: > > On Thu, Aug 28, 2003 at 05:33:45PM -0400, Matthew Graybosch wrote: > > > > rm - 410 268 bytes, > > > > mv - 407 568 bytes, > > > > date - 423 748 bytes. > > > > > > As others explained these commands and others are statically linked so that > > > they do not depend on libraries that live in /usr. > > > > Once upon a time, libraries were constructed so that only the modules > > you were actually using got included, even static ones. Or so I was given > > to understand... Since libc is 1.2Meg, there still seems to be a little > > bit of that going on, but sheesh! > > I remember that as well. I'd sure like to know why that changed. The reason why it's so big is because NIS support drags in a *lot* of code. -- Jonathan Chen ---------------------------------------------------------------------- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}