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

Re: Copying hard links.



On Tue, 7 Apr 1998, Roman Hodek wrote:

> 
> > 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?
> 
> Does the iso9660 fs actually support hard links?? Ok, it supports
> sharing data between files simply by mapping the same blocks, but it
> doesn't tell the user about this fact. I guess tar simply can't see
> that there are hard links...
> 
I just checked with ls -i, and the inodes are not the same for the file in
binary-i386 and its msdos file. This probably explains why none of the
utilities recognize them as hard links. (they were definitly hard links on
the archive that I built the CD from) It seems that ISO9660 deals with
this differntly, unless it is a bug in mkisofs?

Thanks,

Dwarf
--
_-_-_-_-_-   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: