Date: Sun, 1 Jul 2007 23:44:58 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: Ben Kaduk <minimarmot@gmail.com> Cc: freebsd-doc@freebsd.org Subject: Re: recommended size of root partition Message-ID: <20070701234149.O81781@woozle.rinet.ru> In-Reply-To: <47d0403c0707011043y6d3d8819yeb807f08eb136d69@mail.gmail.com> References: <47d0403c0706301618l6821d2c3n4ac0510fde66f834@mail.gmail.com> <d7195cff0707010801l567a5469k7634d6e4fadf2f56@mail.gmail.com> <47d0403c0707010938i2af1c0a1gc26da2652e4648a8@mail.gmail.com> <20070701204053.H77247@woozle.rinet.ru> <47d0403c0707011043y6d3d8819yeb807f08eb136d69@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 ***
------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070701234149.O81781>
