The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]

Article Feedback - Swapping boot drives around
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Update for FreeBSD 5.X
Author: dordal 
Date:   01-08-05 21:18

Just a quick note to let you know that the procedure contributed by Dean at
the bottom of the page on http://www.freebsddiary.org/driveswap.php no
longer works in FreeBSD 5.X.

The nice folks have updated the options that tar takes, and the correct
command is of the form:
tar --one-file-system -c -f - -C / . | tar xpvf - -C /mnt

E.g.
tar --one-file-system -c -f - -C / . | tar xpvf - -C /mnt
tar --one-file-system -c -f - -C /var . | tar xpvf - -C /mnt/var
tar --one-file-system -c -f - -C /tmp . | tar xpvf - -C /mnt/tmp
tar --one-file-system -c -f - -C /usr . | tar xpvf - -C /mnt/usr



 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Update for FreeBSD 5.X   new
dordal 01-08-05 21:18 
 6.1 pre-release Re: Update for FreeBSD 5.X   new
sailor 11-02-06 16:48 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org