From owner-freebsd-questions Wed May 8 21: 6:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 230F637B408 for ; Wed, 8 May 2002 21:06:17 -0700 (PDT) Received: from localhost (localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.11.6/8.11.6) with ESMTP id g4941tH69701; Wed, 8 May 2002 21:01:55 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Date: Wed, 8 May 2002 21:01:55 -0700 (PDT) From: Annelise Anderson To: Brian Astill Cc: Nick Lozinsky , "P.B. Ruiter" , Peter Leftwich , FreeBSD Questions Subject: Re: /usr/home on separate disk? In-Reply-To: <200205090338.g493cj182581@tierzero.apana.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Wed, 8 May 2002, Brian Astill wrote: > I want to put /usr/local on ad1, leaving / /var /usr and swap on ad0. > > I don't understand the (quite complex)answers given about how to do this. > > What is wrong with renaming /usr/local /usr/local2, then putting the ad1slice > and mount /usr/local in fstab Reboot or (perhaps better) just mount > /dev/ad1s1 /usr/local. > Move the tree from /usr/local2 to /usr/local. > > Bingo! Or is it? > Well, if I were doing it I'd mount ad1s1 to something like /usr/newlocal and then move all the files; then I'd rename /usr/local to /usr/local2, put ad1s1 in fstab on with /usr/local as a mount point, and then remount /usr/newlocal to /usr/local/. Make sure it works, and reboot; then once it's working and you know the files are right, you can start deleting stuff in /usr/local2. Annelise -- Annelise Anderson Author of: FreeBSD: An Open-Source Operating System for Your PC Available from: BSDmall.com and amazon.com Book Website: http://www.bittreepress.com/FreeBSD/introbook/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message