From owner-freebsd-questions Fri Oct 27 18: 3: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-149-77.mmcable.com [24.27.149.77]) by hub.freebsd.org (Postfix) with SMTP id 6A4C337B479 for ; Fri, 27 Oct 2000 18:03:04 -0700 (PDT) Received: (qmail 68477 invoked by uid 100); 28 Oct 2000 01:02:58 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14842.9666.591470.115502@guru.mired.org> Date: Fri, 27 Oct 2000 20:02:58 -0500 (CDT) To: "Matt Bettinger" Cc: questions@freebsd.org Subject: Re: buildworld from cd In-Reply-To: <25406496@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matt Bettinger writes: > Can i just cp -r /cdrom/* /usr/src (on the 4.1 Release computer and then > build world like that ? or can i do it some way without copying the files > over and buildworld straight from the cd..? That should work, but isn't necessarily the fastest way to do things. > I tried to cp -r /cdrom/* /usr/src and got alot fo erros saying something > about dates and copy_big ... That sounds like your CDROM may have problems. Try the following: # mount -t cd9660 /dev/acd0c /cdrom # use your device and mount points # diff -r /cdrom /usr/src # Adjust /cdrom to the src tree copy If that generates problems, then your cdrom has problems, and you'll need to create another. Once you have a good cdrom, you can also just mount the cdrom as /usr/src (if the top of the tree is /usr/src), cd to /usr/src (which is now on the CDROM), and do the make there. I have no idea which is faster. A third alternative is to use NFS. I have two machines, one fairly crunchy (dual Xeons) and the other not (single K6-2). I build on the crunchy machine, and export /usr/src and /usr/obj read-only. The K6 box mounts /usr/src and /usr/obj over the net, and just installs the built objects over the net. Being able to save the longer of the two build times more than makes up for doing an install over the net.