LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Hard link copying peculiarity

[ILUG] Hard link copying peculiarity

Niall O Broin niall at linux.ie
Sat Oct 26 22:18:06 IST 2002


On Fri, Oct 25, 2002 at 02:35:51PM -0700, Rick Moen wrote:

> > However, both the cp and cpio methods failed for me here - they didn't
> > maintain the symlinks and filled the destination disk.
> 
> That's very odd, given that you used the appropriate switches.

Odd as in buggy - unlike rsync there are no switches related to hard links.
At least in the case of cpio (for which I've RTFS) this is the normal
behaviour i.e. to do The Right Thing. But unfortunately, cpio's
implementation of doing the right thing is false. A hash is used and I
suspect it dies on beng handed 100000 files. I haven't looked at the source
for cp but as it fails in the same way as cpio I suspect it's using
something similar.

> And, yes, rsync _is_ wonderful.  It's my preferred tool for such things.

Mine too, now :-)



Niall



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell