Re: patch for 2.1.50 isofs unable to read de past end of block error

Linus Torvalds (torvalds@transmeta.com)
Fri, 15 Aug 1997 10:38:36 -0700 (PDT)


On Fri, 15 Aug 1997, James Bottomley wrote:
>
> The attached patch enables the iso9960 filesystem to handle the case where the
> directory entry spans two blocks (as it tends to on most Microsoft written CDs)
>
> I don't know why the 2.0 implementation was dropped from the kernel, but if it
> was for aesthetic reasons, I hope the new one looks cleaner.

It was done because the 2.1.x setup was meant to fix the problem without
needing to ever have two buffers. Essentially, the default buffer size of
2.1 should be the "native" 2k of isofs, so a directory entry should never
span two buffers any more (it used to be that Linux used a buffer size of
1kB and thus a "isofs buffer" of 2kB was spit into two "linux buffers").

Hmm.. Is the code broken someway (using 1kB buffers still?) or do you have
CD's that have directory names spanning across the "native" buffers too?

Linus