>       drive.  Assuming you mount the root partition on the second
>       drive on /mnt, you could:
>
>       # cd /
>       # tar cfpBl . - | (cd /mnt; tar xfpB - )
                                ^

When using this idiom, remember that the correct incantation is

>       # tar cfpBl . - | (cd /mnt && tar xfpB - )
                                 ^^

This means that if the chdir fails to work correctly, the tar process will
not be launched, possibly avoiding spectacular fireworks.

DL
--
        affairs and are crunchy Do for good in ketchup.
        meddle not of the taste with wizards, you


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to