Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Oct 2000 20:02:58 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        "Matt Bettinger" <mattb@finsyn.com>
Cc:        questions@freebsd.org
Subject:   Re: buildworld from cd
Message-ID:  <14842.9666.591470.115502@guru.mired.org>
In-Reply-To: <25406496@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

	<mike




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?14842.9666.591470.115502>