Trying to move /usr

Lisandro Grullon lisandrogrullon07 at hotmail.com
Mon Aug 20 11:39:53 PDT 2007


This makes perfect sense, are you still having issues with your restore?

> Date: Mon, 20 Aug 2007 13:37:56 -0400> From: msherman77 at yahoo.com> To: illoai at gmail.com; freebsd-questions at freebsd.org> CC: > Subject: Re: Trying to move /usr> > 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> > --- "illoai at gmail.com" <illoai at gmail.com> wrote:> > > On 20/08/07, Michael S <msherman77 at 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, instead 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:> > # mkdir /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 at freebsd.org mailing list> http://lists.freebsd.org/mailman/listinfo/freebsd-questions> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
_________________________________________________________________
Learn. Laugh. Share. Reallivemoms is right place!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us


More information about the freebsd-questions mailing list