From owner-freebsd-questions@FreeBSD.ORG Mon Aug 20 21:08:57 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CBC316A418 for ; Mon, 20 Aug 2007 21:08:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id C05F213C474 for ; Mon, 20 Aug 2007 21:08:56 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l7KL8nft027637; Mon, 20 Aug 2007 16:08:49 -0500 (CDT) Message-Id: <6.0.0.22.2.20070820160602.0264a8c0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Mon, 20 Aug 2007 16:08:11 -0500 To: Michael S , "illoai@gmail.com" , FreeBSD Mailing List From: Derek Ragona In-Reply-To: <508113.84269.qm@web88303.mail.re4.yahoo.com> References: <508113.84269.qm@web88303.mail.re4.yahoo.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Trying to move /usr X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Aug 2007 21:08:57 -0000 At 12:37 PM 8/20/2007, Michael S wrote: >I reverted to the old /usr. >What I had done: >Initially I set up the newly installed drive (da2) >to have only one partition (da2s1d) which I chose to >be /user (note the e). >I tarred /usr to a file in /user >tar -cf /user/usr.tar /tar > >and extracted the file >tar -xf usr.tar >I had the whole structure of /usr underneath /user/usr > >And then >cd usr >mv * .. > >to have everything under /user > >Then I edited fstab. Whatever was /user became /usr >and /usr became /user. > >I will definitely try dump. Never used it before. > >Thanks a lot, >Michael Michael, To use tar properly for this operation: cd /usr tar -cvf /user/usr.tar . cd /user tar -xvpf ./usr.tar Then you can switch the mount points and all should work. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.