From owner-cvs-all Wed Nov 21 15:36:30 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [61.122.44.178]) by hub.freebsd.org (Postfix) with ESMTP id 471A037B416; Wed, 21 Nov 2001 15:36:22 -0800 (PST) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 788204D81A; Thu, 22 Nov 2001 08:36:20 +0900 (JST) Date: Thu, 22 Nov 2001 08:36:20 +0900 Message-ID: <86itc3ae8b.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: "Brian F. Feldman" Cc: Alfred Perlstein , Sheldon Hearn , Ian Dowse , Brian Somers , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man1 builtin.1 src/bin/sh Makefile builtins.def sh.1 src/usr.bin/printf printf.1 In-Reply-To: <200111212100.fALL0ch87092@green.bikeshed.org> References: <20011121125425.J13393@elvis.mu.org> <200111212100.fALL0ch87092@green.bikeshed.org> User-Agent: Wanderlust/2.7.5 (Too Funky) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Wed, 21 Nov 2001 16:00:38 -0500, green wrote: > > Alfred Perlstein wrote: > > Since these are now builtins, wouldn't it sort of make sense to > > make 'sh' capable of being /bin/test, /bin/printf /whatever/builtin > > based on argv[0]? :) > > > > Then we can just use hardlinks, a bit gross, but it would save > > quite a bit of space imo. > > I hadn't thought of that. That really does seem like quite a good idea! I doubt that... It would result in test's bloat (55k -> 640k) and just increase the memory usage, no? However, I think it would be a good idea for boot floppies. (I'm not sure if it would work when integrated into a crunched binary using crunchgen) -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Somewhere out of a memory.. of lighted streets on quiet nights.." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message