From owner-freebsd-arch Wed Nov 8 19: 2:15 2000 Delivered-To: freebsd-arch@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 8AB8337B479 for ; Wed, 8 Nov 2000 19:02:12 -0800 (PST) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id TAA32052; Wed, 8 Nov 2000 19:02:10 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda32050; Wed Nov 8 19:02:02 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.11.1/8.9.1) id eA9322W13678; Wed, 8 Nov 2000 19:02:02 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdM13672; Wed Nov 8 19:01:26 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.11.1/8.9.1) id eA931Pv26563; Wed, 8 Nov 2000 19:01:25 -0800 (PST) Message-Id: <200011090301.eA931Pv26563@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdr26532; Wed Nov 8 19:00:58 2000 X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 4.1.1-RELEASE X-Sender: cy To: Warner Losh Cc: arch@FreeBSD.ORG Subject: Re: The shared /bin and /sbin bikeshed In-reply-to: Your message of "Wed, 08 Nov 2000 19:49:36 MST." <200011090249.TAA35455@harmony.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 08 Nov 2000 19:00:58 -0800 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <200011090249.TAA35455@harmony.village.org>, Warner Losh writes: > : 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. > > It looks like I understated the savings. It saves 6.5M for our cut > down tree (which tries to grab as few of the /bin and /sbin binaries > as it can). For the full tree it saves 12-13M (2.1M vs 14.4M). My > cut down minimal system went from 14.7M to 8.2M. I think it's a no brainer then. Another idea: Building static and dynamic binaries and storing them in separate directories within /usr/obj would allow for one buildworld to be used to installworld on larger (static) and smaller (dynamic) systems without running buildworld twice. BTW, it should be painted green. Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message