Re: recommended size of root partition

看板FB_doc作者時間18年前 (2007/07/02 05:50), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串8/10 (看更多)
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) -- -- _______________________________________________ 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): #16Y26t00 (FB_doc)
討論串 (同標題文章)
文章代碼(AID): #16Y26t00 (FB_doc)