From owner-freebsd-hackers Tue Nov 12 11:52:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73C3337B401 for ; Tue, 12 Nov 2002 11:52:23 -0800 (PST) Received: from mail1.qc.uunet.ca (mail1.qc.uunet.ca [198.168.54.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5F7243E3B for ; Tue, 12 Nov 2002 11:52:22 -0800 (PST) (envelope-from anarcat@espresso-com.com) Received: from xtanbul.studio.espresso-com.com ([216.94.147.57]) by mail1.qc.uunet.ca (8.10.2/8.10.2) with ESMTP id gACJqCZ18306; Tue, 12 Nov 2002 14:52:12 -0500 Received: from anarcat by xtanbul.studio.espresso-com.com with local (Exim 3.36 #1 (Debian)) id 18Bh4s-0000Uw-00; Tue, 12 Nov 2002 14:52:02 -0500 Date: Tue, 12 Nov 2002 14:52:02 -0500 From: The Anarcat To: Rich Morin Cc: freebsd-hackers@freebsd.org Subject: Re: Shrinking /(s)bin: A Proposal Message-ID: <20021112195200.GC32440@xtanbul.studio.espresso-com.com> References: <3DD03D9A.6090805@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The same approach is used in creating sysinstall related binaries or in PicoBSD. The utility is called crunchgen(1). The examples section even features ways to do exactly that with /sbin. A. On Tue Nov 12, 2002 at 11:32:26AM -0800, Rich Morin wrote: > My spouse had the problem of creating a bootable copy of A/UX on a > single floppy. She decided to write a "doitall" program that had > functionality from a number of small commands. This amortized the > overhead a great deal. > > A similar approach could be used for /(s)bin: lump several programs > together into a single binary, but give the binary links for each > of the original names (and have the program respond according to > the name used, ala vi/ex). > > My general reaction, however, is that this issue (shrinking sbin) > is not worth trashing the software engineering of piles of commands. > > -r > -- > email: rdm@cfcl.com; phone: +1 650-873-7841 > http://www.cfcl.com/rdm - my home page, resume, etc. > http://www.cfcl.com/Meta - The FreeBSD Browser, Meta Project, etc. > http://www.ptf.com/dossier - Prime Time Freeware's DOSSIER series > http://www.ptf.com/tdc - Prime Time Freeware's Darwin Collection > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message