Re: recommended size of root partition

看板FB_doc作者時間18年前 (2007/07/02 03:46), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/10 (看更多)
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. BK> > BK> > Look at install.sh scripts in the distribution directories BK> > BK> BK> I am still a bit confused. When you say ``distribution directories,'' BK> I presume you mean the directory hierarchy of a distribution medium, BK> such as an ISO image (or presumably the result of ``make BK> distribution''). I certainly don't see any global install.sh in BK> /usr/src . I made the original query because I wasn't equipped to do BK> a make distribution, and I didn't have any install CD's handy. Well, you can look for template in reference from /usr/src/release/Makefile, namely release/scripts/*-install.sh ;-) As for base, this is: -- 8< -- #!/bin/sh # # $FreeBSD: src/release/scripts/base-install.sh,v 1.6 2002/04/30 09:57:21 ru Exp $ # if [ "`id -u`" != "0" ]; then echo "Sorry, this must be done as root." exit 1 fi echo "You are about to extract the base distribution into ${DESTDIR:-/} - are you SURE" echo -n "you want to do this over your installed system (y/n)? " read ans if [ "$ans" = "y" ]; then cat base.?? | tar --unlink -xpzf - -C ${DESTDIR:-/} fi -- 8< -- Look at the cat... line 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): #16Y0IQ00 (FB_doc)
討論串 (同標題文章)
文章代碼(AID): #16Y0IQ00 (FB_doc)