recommended size of root partition
Ben Kaduk
minimarmot at gmail.com
Mon Jul 2 00:31:51 UTC 2007
On 7/1/07, Dmitry Morozovsky <marck at rinet.ru> wrote:
> On Sun, 1 Jul 2007, illoai at 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 at rinet.ru ***
> ------------------------------------------------------------------------
>
More information about the freebsd-doc
mailing list