[lug] adding a new disk to a system

Hugh Brown hugh at vecna.com
Sun Sep 2 21:15:46 MDT 2001


Forgive me.  I was speaking out of ignorance and parroting what I heard
from others.  When cp failed me I wasn't using the -a option.

I'm not sure why others before me have suggested tar for large copies.

Hugh


"Rob Riggs"
> 
> 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