From owner-freebsd-questions Thu May 16 0:34:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by hub.freebsd.org (Postfix) with ESMTP id EC38337B406 for ; Thu, 16 May 2002 00:34:34 -0700 (PDT) Received: from daleco [12.145.226.58] by mail.gbronline.com (SMTPD32-7.06) id A0BF195900DC; Thu, 16 May 2002 02:33:19 -0500 Message-ID: <046c01c1fcac$06074a00$3dec910c@daleco> From: "Kevin Kinsey, DaleCo, S.P." To: Cc: References: <200205160610.g4G6A5112948@tierzero.apana.org.au> Subject: Re: root on ad0s3a and /usr/local on ad1s3h Date: Thu, 16 May 2002 02:33:49 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 From: "Brian Astill" To: Cc: "Annelise Anderson" ; "Greg 'groggy' Lehey" Sent: Wednesday, May 15, 2002 7:53 AM Subject: root on ad0s3a and /usr/local on ad1s3h > Interesting how good advice given to a newbie can be incomplete (but didn't I > say that ...?) or, due to a lack of vital local information - positively > dangerous. > God is omniscient. The rest go with what they're given. ;-) Like a search engine, the battle is won when I can figure out what I need to ask. > First, Greg Lehey was most helpful, and after providing a specific > amplification of his earlier answer (CAN newfs ad1s3 - BUT! 14 May 2002 > 16:23:02 +0930) I could understand, follow his instructions and produce a > working ad1s3 - Yeah! > > Now to Annelise advice on moving /usr/local from drive 0 to ad1s3. > (/usr/home on separate disk 9/5/02 13:31) > And you were blessed to get help from *two* excellent sources. The folks are authors of note within the community, and Greg is a member of FBSD core (not sure re: Ms. Anderson, but don't think so, she's probably pretty busy at Stanford). Of course, the thing that really helped you with Greg is probably that he is a fellow Aussie..... :-) > That trap I mentioned earlier? "cp /usr/local /usr/newlocal" did NOT simply > copy all the files in local to newlocal. Instead it copied itself into > newlocal, to produce /usr/newlocal/local, which was NOT what we wanted! Nope, I believe you would need to cp -r /usr/local/ /usr/newlocal/ or possibly even use the -rf switch. [Either Greg or Annelise could give you an 'authoritative answer'.] If you ever did DOS you might recognize 'copy' vs 'copytree' or 'xcopy,' but *shame* on me for mentioning a system that only was for operating disks[1]. Read up on 'man cp'.......read LOTS of man pages ..... and happy computing!! Kevin Kinsey > -- > Regards, > Brian [1] "DOS is to FBSD as Lichtenstein is to the Milky Way."[2] [2] No offense intended to Lichtensteiners. DOS users: format c: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.5-RELEASE/ get kern.flp, mfsroot.flp, fdimage.exe etc........ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message