On Fri, 2004-09-17 at 00:53, pinto wrote:
On Friday 17 September 2004 04:16, Tim Hanson wrote:
I'm about to move "/" to a larger drive. What copy command line should I use to get everything, including symlinks, moved and pointing to the new locations?
If, you mount the new "/" on mount-point "/mnt" , then, cd to "/" , and, as root, command :-
tar clf - . | ( umask 0; cd /mnt; tar xvf - )
-- that will do what you want.
This will work but you would be better off booting to the rescue cd and doing the copy that way. You are better off copying a quite system rather than a system that has files open, i.e. log files and files in your home dir. -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2) * PLEASE only reply to the list *