Subject: hard links in mounted cd9660 file system
To: None <tech-kern@NetBSD.org>
From: Cliff Wright <cliff@snipe444.org>
List: tech-kern
Date: 03/02/2005 12:44:36
After mounting a cd9660 type file system, files that were hard linked
when creating the iso (using default of -cache-inodes to mkisofs) have
the correct reference count, take up space for only 1 file, but show
different inode numbers. This means that when I do a copy the hard link
is not preserved, and a duplicate copy is made. I have tried various
copy methods cp -Rp, back to back tars, and even rsync from knoppix. Is
their a mount flag for cd9660, or some other way of preserving hard
links in an iso after the mount?
Cliff Wright