Date: Mon, 20 Aug 2007 16:08:11 -0500 From: Derek Ragona <derek@computinginnovations.com> To: Michael S <msherman77@yahoo.com>, "illoai@gmail.com" <illoai@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Trying to move /usr Message-ID: <6.0.0.22.2.20070820160602.0264a8c0@mail.computinginnovations.com> In-Reply-To: <508113.84269.qm@web88303.mail.re4.yahoo.com> References: <d7195cff0708201015n3acdd927t915c99f1d38798e7@mail.gmail.com> <508113.84269.qm@web88303.mail.re4.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20070820160602.0264a8c0>