[lug] adding a new disk to a system

Rob Riggs rob at pangalactic.org
Sun Sep 2 00:05:05 MDT 2001


How is tar or cpio any better with links than 'cp -a'? You have the same 
problems with hard links with tar and cpio (AFAIK) and 'cp -a' handles 
symlinks just fine. And the average Linux system has few, if any, hard 
linked files these days so it's generally not an issue.

Hugh Brown wrote:

>cp doesn't deal well with links and it is not as effecient as some of the
>other methods.
>
>It has failed me, which is why I opted for the tar method first.
>
>Hugh
>
>"Rob Riggs"
>
>>I've always used 'cp -a <src> <dest>'. It's short, sweet and easy to 
>>remember. And it has never failed me.
>>




More information about the LUG mailing list