Re: isofs hardlink bug (inode numbers different)

H. Peter Anvin
2003-02-04T21:43:51Z

Frank van Maarseveen wrote:
>
> Suppose that the root of a iso9660 has entries such as '/', '.' and '..'
> all with inode 2 and maybe that there are some other indications that
> the creator applied UNIX style inode numbering, wouldn't it be reasonable
> to assume that inode numbers should be trusted?
>

The thing is, RockRidge attributes are a file-by-file thing. You can
have it on half the files if you want.

Of course, since Linux isn't dependent on the inode numbers to find the
directory entries anymore (since we now have dentries), one could
rewrite the iso9660 filesystem so that it doesn't matter. This is a
major rewrite, however. It wouldn't be unwelcome; the current code is
pretty awful.

-hpa