Trying to move /usr

illoai at gmail.com illoai at gmail.com
Mon Aug 20 10:15:21 PDT 2007


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.

-- 
--


More information about the freebsd-questions mailing list