Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2007 00:31:49 +0000
From:      "Ben Kaduk" <minimarmot@gmail.com>
To:        "Dmitry Morozovsky" <marck@rinet.ru>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: recommended size of root partition
Message-ID:  <47d0403c0707011731p13446d43p5495848bec1d90ec@mail.gmail.com>
In-Reply-To: <20070702030514.D81781@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> <d7195cff0707011448y2dc05b04w6fbc9ded11ea1732@mail.gmail.com> <20070702030514.D81781@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/1/07, Dmitry Morozovsky <marck@rinet.ru> 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 ***
> ------------------------------------------------------------------------
>



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