Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2007 16:48:57 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Dmitry Morozovsky" <marck@rinet.ru>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: recommended size of root partition
Message-ID:  <d7195cff0707011448y2dc05b04w6fbc9ded11ea1732@mail.gmail.com>
In-Reply-To: <20070702000236.S81781@woozle.rinet.ru>
References:  <47d0403c0706301618l6821d2c3n4ac0510fde66f834@mail.gmail.com> <d7195cff0707010801l567a5469k7634d6e4fadf2f56@mail.gmail.com> <47d0403c0707010938i2af1c0a1gc26da2652e4648a8@mail.gmail.com> <20070701204053.H77247@woozle.rinet.ru> <47d0403c0707011043y6d3d8819yeb807f08eb136d69@mail.gmail.com> <20070702000236.S81781@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/07/07, Dmitry Morozovsky <marck@rinet.ru> wrote:
> 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.
>
> [snip all other]
>
> For quick estimation without instalation media, you can use jail install
> procedure:
>
> export DESTDIR=/path/to/jail (or setenv in [t]sch)
> mkdir -p ${DESTDIR}
> cd /usr/src
> make installworld distribution installkernel
>
> which gives you copy of freshly installed system ready for jail run...
>

Is it faster than:
# mdconfig -a -t vnode -f /path/to/6.2-RELEASE-i386-disc1.iso -u 0
# mount -t cd9660 /dev/md0 /vcdrom
--(leave root so's not to worry about typos here!)--
% cd /some/scratch/directory
% cat /vcdrom/6.2-RELEASE/base/base.?? | tar zxvf -
. . . (I like to watch)
% cat /vcdrom/6.2-RELEASE/kernels/generic.?? | tar zxvf -
. . . (pages and pages of pathnames)
% rm -rf usr/ var/ tmp/
% du -d0 -h ./
36M
%
?

(this assumes that per sysinstall default /usr /var
and /tmp are their own filesystems)

-- 
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0707011448y2dc05b04w6fbc9ded11ea1732>