From owner-freebsd-doc@FreeBSD.ORG Sun Jul 1 19:45:00 2007 Return-Path: X-Original-To: freebsd-doc@freebsd.org Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E70816A46E for ; Sun, 1 Jul 2007 19:45:00 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id A43C113C487 for ; Sun, 1 Jul 2007 19:44:59 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.1/8.14.1) with ESMTP id l61JiwMa082534; Sun, 1 Jul 2007 23:44:58 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Sun, 1 Jul 2007 23:44:58 +0400 (MSD) From: Dmitry Morozovsky To: Ben Kaduk In-Reply-To: <47d0403c0707011043y6d3d8819yeb807f08eb136d69@mail.gmail.com> Message-ID: <20070701234149.O81781@woozle.rinet.ru> References: <47d0403c0706301618l6821d2c3n4ac0510fde66f834@mail.gmail.com> <47d0403c0707010938i2af1c0a1gc26da2652e4648a8@mail.gmail.com> <20070701204053.H77247@woozle.rinet.ru> <47d0403c0707011043y6d3d8819yeb807f08eb136d69@mail.gmail.com> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (woozle.rinet.ru [0.0.0.0]); Sun, 01 Jul 2007 23:44:58 +0400 (MSD) Cc: freebsd-doc@freebsd.org Subject: Re: recommended size of root partition X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2007 19:45:00 -0000 On Sun, 1 Jul 2007, Ben Kaduk wrote: BK> > BK> Thanks! What command did you use to do the decompression (and what BK> > BK> was the source from which to decompress)? I figured that doing an BK> > BK> extraction would be the best way (since it directly tests the object BK> > BK> in question), but I couldn't come up with something quick. BK> > BK> > Look at install.sh scripts in the distribution directories BK> > BK> BK> I am still a bit confused. When you say ``distribution directories,'' BK> I presume you mean the directory hierarchy of a distribution medium, BK> such as an ISO image (or presumably the result of ``make BK> distribution''). I certainly don't see any global install.sh in BK> /usr/src . I made the original query because I wasn't equipped to do BK> a make distribution, and I didn't have any install CD's handy. Well, you can look for template in reference from /usr/src/release/Makefile, namely release/scripts/*-install.sh ;-) As for base, this is: -- 8< -- #!/bin/sh # # $FreeBSD: src/release/scripts/base-install.sh,v 1.6 2002/04/30 09:57:21 ru Exp $ # if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 fi echo "You are about to extract the base distribution into ${DESTDIR:-/} - are you SURE" echo -n "you want to do this over your installed system (y/n)? " read ans if [ "$ans" = "y" ]; then cat base.?? | tar --unlink -xpzf - -C ${DESTDIR:-/} fi -- 8< -- Look at the cat... line Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------