From owner-freebsd-doc@FreeBSD.ORG Mon Jul 2 00:31:51 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 F1A8A16A400 for ; Mon, 2 Jul 2007 00:31:50 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by mx1.freebsd.org (Postfix) with ESMTP id AC6BD13C455 for ; Mon, 2 Jul 2007 00:31:50 +0000 (UTC) (envelope-from minimarmot@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so630431nzf for ; Sun, 01 Jul 2007 17:31:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fF04KcKRIPRtjLo3L9p181cp+4jTNw+xhTkA3XZBl37zM4czi72lJg2Fdh+xywWwmWMRkeK8Wx4JEyjfv41O9iz8sk9lGym7JDy7adepOEXJxIyofApqnmli3MG7hk78HUGfeP8zf7ULbwRNgAHx5Sq0PdAioTQxT7h86NuYmY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FjHhQAosmr4yKCApB4SJ4ZFnj/rRKA+fivbWY/oyOkOZTq3mjB2aPnq/M/Tr5bE31pbUq9VKUvWaKNcUH0ZRktBYErAXCrMtsEsS9p9wFVNSBtQhK9iCcFZJmabxFWAsNqVt3eO78/b6C64uFiJND7FtZi1rjG6N4qFpCoxz3Cs= Received: by 10.142.76.4 with SMTP id y4mr316429wfa.1183336309602; Sun, 01 Jul 2007 17:31:49 -0700 (PDT) Received: by 10.143.14.5 with HTTP; Sun, 1 Jul 2007 17:31:49 -0700 (PDT) Message-ID: <47d0403c0707011731p13446d43p5495848bec1d90ec@mail.gmail.com> Date: Mon, 2 Jul 2007 00:31:49 +0000 From: "Ben Kaduk" To: "Dmitry Morozovsky" In-Reply-To: <20070702030514.D81781@woozle.rinet.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47d0403c0706301618l6821d2c3n4ac0510fde66f834@mail.gmail.com> <47d0403c0707010938i2af1c0a1gc26da2652e4648a8@mail.gmail.com> <20070701204053.H77247@woozle.rinet.ru> <47d0403c0707011043y6d3d8819yeb807f08eb136d69@mail.gmail.com> <20070702000236.S81781@woozle.rinet.ru> <20070702030514.D81781@woozle.rinet.ru> 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: Mon, 02 Jul 2007 00:31:51 -0000 On 7/1/07, Dmitry Morozovsky wrote: > On Sun, 1 Jul 2007, illoai@gmail.com wrote: > > i> > BK> > BK> Thanks! What command did you use to do the decompression (and what > i> > BK> > BK> was the source from which to decompress)? I figured that doing an > i> > BK> > BK> extraction would be the best way (since it directly tests the object > i> > BK> > BK> in question), but I couldn't come up with something quick. > i> > > i> > [snip all other] > i> > > i> > For quick estimation without instalation media, you can use jail install > i> > procedure: > i> > > i> > export DESTDIR=/path/to/jail (or setenv in [t]sch) > i> > mkdir -p ${DESTDIR} > i> > cd /usr/src > i> > make installworld distribution installkernel > i> > > i> > which gives you copy of freshly installed system ready for jail run... > i> > > i> > i> Is it faster than: > i> # mdconfig -a -t vnode -f /path/to/6.2-RELEASE-i386-disc1.iso -u 0 > i> # mount -t cd9660 /dev/md0 /vcdrom > i> --(leave root so's not to worry about typos here!)-- > i> % cd /some/scratch/directory > i> % cat /vcdrom/6.2-RELEASE/base/base.?? | tar zxvf - > i> . . . (I like to watch) > i> % cat /vcdrom/6.2-RELEASE/kernels/generic.?? | tar zxvf - > i> . . . (pages and pages of pathnames) > i> % rm -rf usr/ var/ tmp/ > i> % du -d0 -h ./ > i> 36M > i> % > i> ? > i> > i> (this assumes that per sysinstall default /usr /var > i> and /tmp are their own filesystems) > > Original poster indicated that he has not quickly available installation media; > however, it seems he's armed with buildworld results, hence my suggestions. > I do have buildworld results, but since I run -current, I have debugging options enabled for the kernel, which seems to have a big impact on its size on disk. The original question (how big is / on a default install) did not seem important enough to spend the cpu time building a non-debug kernel. Luckily for me, several people know faster ways. -Ben Kaduk > Sincerely, > D.Marck [DM5020, MCK-RIPE, DM3-RIPN] > ------------------------------------------------------------------------ > *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** > ------------------------------------------------------------------------ >