Date: Mon, 20 Aug 2007 14:39:52 -0400 From: Lisandro Grullon <lisandrogrullon07@hotmail.com> To: Michael S <msherman77@yahoo.com>, <freebsd-questions@freebsd.org> Subject: RE: Trying to move /usr Message-ID: <BAY116-W1677BB713952B248553EFAA9DB0@phx.gbl>
next in thread | raw e-mail | index | archive | help
This makes perfect sense, are you still having issues with your restore? > Date: Mon, 20 Aug 2007 13:37:56 -0400> From: msherman77@yahoo.com> To: il= loai@gmail.com; freebsd-questions@freebsd.org> CC: > Subject: Re: Trying to= move /usr> > I reverted to the old /usr.> What I had done:> Initially I se= t up the newly installed drive (da2)> to have only one partition (da2s1d) w= hich 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 ha= d 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. N= ever used it before.> > Thanks a lot,> Michael> > --- "illoai@gmail.com" <i= lloai@gmail.com> wrote:> > > On 20/08/07, Michael S <msherman77@yahoo.com> = wrote:> > > Jerry,> > >> > > *** When I untarred the file I had everything>= > under> > > /user/usr. I was under /user/usr and then I did mv> > *> > > = ..> > >> > > I then edited fstab and changed> > > /dev/da2s1d to be /usr, i= nstead of /user> > >> > > And of course the old /usr I switched to /user> >= > > So is your /usr now under /usr/usr?> > > > What I have done is:> > # m= kdir /mnt/usr> > # mount /dev/whatever /mnt/usr> > # cd /mnt/usr> > # dump = -L -f - /usr | restore -r -f -> > And then edit your /etc/fstab to reflect = the changes> > and reboot.> > > > -- > > --> > > > ________________________= _______________________> freebsd-questions@freebsd.org mailing list> http:/= /lists.freebsd.org/mailman/listinfo/freebsd-questions> To unsubscribe, send= any mail to "freebsd-questions-unsubscribe@freebsd.org" _________________________________________________________________ Learn. Laugh. Share. Reallivemoms is right place! http://www.reallivemoms.com?ocid=3DTXT_TAGHM&loc=3Dus=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY116-W1677BB713952B248553EFAA9DB0>