Re: recommended size of root partition

看板FB_doc作者時間18年前 (2007/07/02 08:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串10/10 (看更多)
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 *** > ------------------------------------------------------------------------ > _______________________________________________ freebsd-doc@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-doc To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"
文章代碼(AID): #16Y4UF00 (FB_doc)
討論串 (同標題文章)
文章代碼(AID): #16Y4UF00 (FB_doc)