[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Copying hard links.

In the previous discussion of hard links in the archive, it was suggested
tome that cpio and tar did manage the links correctly although cp -a did

I just tried to use tar to copy one of my CDs with hard links back onto
the hard disk. I did a cd to that archive, and ran:

	tar -c /cdrom | tar -xv

Which created seperate inodes for the file and its hard link, blowing the
600 meg up to about 900 meg. This is the same result as with cp -a. Have I
left something out?

Looking at the cpio man page didn't indicate that using it would give
better results. In fact cp is the only one to even mention that it should
handle hard links.


_-_-_-_-_-   Author of "The Debian Linux User's Guide"  _-_-_-_-_-_-

aka   Dale Scheetz                   Phone:   1 (850) 656-9769
      Flexible Software              11000 McCrackin Road
      e-mail:  dwarf@polaris.net     Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: