[EMAIL PROTECTED] (Joerg Schilling) wrote:

> [EMAIL PROTECTED] wrote:
>
> >
> >
> > >cpio has a bug with hard link handling that will cause real problems
> > >if you use the outdated mkisofs that currently comes with Solaris.
> >
> >
> > What kind of bug (it always works for me and makes the proper hardlinks)
>
> Run "setup-install-server" on a recent Solaris release.....

And to explain the bug: since someone (recently) added code to collect all
file names from stdin _before_ cpio starts archiving, it asumes that all
files with equal st_ino to be hard linked to each other, regardless of st_nlink
and regardless of whether the "file" is a symlink.

POSIX says that st_ino on Symlinks is meaningless unless you positively know 
that the underlying filesystem supports hard links to symlinks.


As a result, you get funny hardlinks between unrelated files.

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to