From owner-freebsd-questions Sat Jun 15 19: 0:56 2002 Delivered-To: freebsd-questions@freebsd.org Received: from valis.olywa.net (valis.olywa.net [216.173.192.2]) by hub.freebsd.org (Postfix) with ESMTP id 9914137B413 for ; Sat, 15 Jun 2002 19:00:52 -0700 (PDT) Received: from intrepid.snowpoint.com ([216.173.213.173]) by valis.olywa.net (Post.Office MTA v3.5.3 release 223 ID# 0-56662U5000L500S0V35) with ESMTP id net for ; Sat, 15 Jun 2002 19:00:52 -0700 Received: from ([216.173.213.172]) by intrepid.snowpoint.com (Merak 4.10.020) with SMTP id HUB36795 for ; Sat, 15 Jun 2002 18:56:16 -0700 From: "Corey Snow" To: freebsd-questions@freebsd.org Date: Sat, 15 Jun 2002 19:00:49 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Adding hard drive, moving /usr/src Message-ID: <3D0B8EE1.6924.A196528@localhost> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Here's the situation. I have a machine that has a 540 MB hard drive. I'm running out of room on the /usr slice (partition?). It's fine as long as I don't try and download any of the source, but in order to make this box a headless one (cf my previous postings) I need to recompile the loader, and maybe even have to do a "make world" (I'm still researching that part. I hope not, because it would probably take days on this 486). Problem is I can't download the all the sources I need because the /usr partition is running out of space. Lucky me, I've got some extra hard drives around. I can toss a second drive in, around 800 MB or so, and add it to the system. Then I can store my /usr/src files there. So here's the questions: 1) How do you add a drive to a FreeBSD machine? Does the kernel have to be recompiled? 2) When I have the new drive in and set up, how can I relocate my /usr/src files to the new larger slice on the second drive? My thought was this: mv the files currently in /usr/src to a temp directory, like /usr/srctemp. Then edit fstab to mount the new slice to /usr/src and mv the files from srctemp into the new src directory. Is this the right approach? Thanks and regards, Corey Snow To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message