Date: Tue, 18 Dec 2001 23:31:26 +0000 From: Scott Mitchell <scott.mitchell@mail.com> To: Joe & Fhe Barbish <barbish@a1poweruser.com> Cc: FBSD Questions <questions@FreeBSD.ORG> Subject: Re: How do I update my ports tree? Message-ID: <20011218233125.A395@localhost> In-Reply-To: <LPBBIGIAAKKEOEJOLEGOGENICJAA.barbish@a1poweruser.com>; from barbish@a1poweruser.com on Tue, Dec 18, 2001 at 04:06:14PM -0500 References: <20011218111314.A80967@blackhelicopters.org> <LPBBIGIAAKKEOEJOLEGOGENICJAA.barbish@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 18, 2001 at 04:06:14PM -0500, Joe & Fhe Barbish wrote: > Thanks for the pointer, When I cd /cdrom then cd ports I found > the ports.tgz file. Them from that location I issued the tar > command you showed below and It gave some error about some > device not being defined. This is what I had to do to get > it to work. > > The port system is suppose to live in /usr/port on the hard > drive. I installed FBSD and did not select the option to > install the ports collection. So FBSD install only builds the > /usr directory. So to get the ports collection to build I had > to copy the ports.tgz from the cdrom to the /usr directory. > Then I issued the tar command with different flags than you > used, and it built ok. Sure took a long time 15 minutes. > Here are the commands I used. > > Cp /cdrom/ports/ports.tgz /usr # copy tar file from cd to hard drive > Cd /usr # change into /usr directory > Tar -xpzf ports.tgz # run tar to load ports system > Rm ports.tgz # delete ports.tgz file from hard drive I think Michael accidentally left out the 'f' flag to tar in his reply... cd /usr tar xzvf /cdrom/ports/ports.tgz would have done the trick as well, while avoiding copying the tarball. The reason for the long time to unpack everything is that you're creating a LOT (many thousands) of mostly quite small files; this is always going to be a lot slower that writing the same amount of data in bigger chunks -- the disk was seeking like crazy for those 15 minutes, right? :-) Keeping ports.tgz on the CD might have speeded things up a little, since you'd avoid tying up the disk reading the tar file when it could be writing your ports directory. Anyway, enjoy your new ports collection :-) Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011218233125.A395>