From owner-freebsd-arch Wed Nov 8 18:19:11 2000 Delivered-To: freebsd-arch@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 5FD8A37B4C5 for ; Wed, 8 Nov 2000 18:19:08 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eA92J7g17398; Wed, 8 Nov 2000 19:19:07 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA35291; Wed, 8 Nov 2000 19:19:06 -0700 (MST) Message-Id: <200011090219.TAA35291@harmony.village.org> To: Steve Price Subject: Re: The shared /bin and /sbin bikeshed Cc: arch@FreeBSD.ORG In-reply-to: Your message of "Wed, 08 Nov 2000 20:11:29 CST." <20001108201129.C62344@bonsai.knology.net> References: <20001108201129.C62344@bonsai.knology.net> <200011090155.SAA35024@harmony.village.org> Date: Wed, 08 Nov 2000 19:19:06 -0700 From: Warner Losh Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001108201129.C62344@bonsai.knology.net> Steve Price writes: : On Wed, Nov 08, 2000 at 06:55:29PM -0700, Warner Losh wrote: : # : # I have a patch that makes /bin and /sbin optionally non-static. For : # small systems that have / and /usr on the same file system, you can : # save about 5M-6M of disk space by making /bin and /sbin shared. : : This might be a bit off-topic but I wonder how much this would : help the PicoBSD distribution if it isn't done this way already? None. PicoBSD uses cruncgen to compile all its binaries into one super binary. There are no shared libraries. I'm not using the PicoBSD model for two reasons. One, we need the flexibility to update one file on the part in the field. This isn't easy to do with the compressed image of the file system in place. Second, we'd rather spend the RAM on application space rather than MFS space. This basically makes it easier to build my "small FreeBSD image" using some custom scripts (I posted them once and there wasn't much interest). It works well for creating subsets of the entire system, but it is an expert tool right now requiring some care and feeding as the system drift away from the initial version (eg more changed its name to less, so make install from src/usr.bin/more no longer worked). Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message