On Fri, 17 Sep 2004 00:15:28 -0400 (EDT), Prashant Kumar
<[EMAIL PROTECTED]> wrote:
> How do  copy my / containing directory root boot tmp bin
> proc etc to a different partition of same disk.
> 
> I used dd if=/dev/sda1 of=/dev/sda4 but it seems to "hang".
> 
> cp -up could not handle /tmp correctly
> 
> Thank in advance for your reply.
> 

You can use cpio or afio. I prefer afio, you can do something like this:

find source_path -depth -print0 | afio -p -xv -0a destination_path


P.S. probably you don't need to copy the /temp dir, anyway...

-- 
Andrea


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to