Re: loopback anomaly?

Jari Ruusu
2002-01-27T22:57:51Z

Jeff Meininger wrote:
> I've found some undesirable behavior when trying to use the loop block
> driver with files with strange byte counts. The files I'd like to setup
> as loopback devices are on read-only media, and they're all different byte
> counts... not necessarily even an integral multiple of 512. I can't just
> pad them to work with losetup.
[snip]
> I'd love to help solve this problem by myself... in fact I've spent the
> last several hours trying. I think I need the aid of a more experienced
> kernel hacker, though. :)

This bug has been around since 2.4.6pre days and it is still unfixed in
mainline kernels. I have posted patch fix this bug twice, once in 2.4.6pre
days and once in 2.4.17pre days. My patches were ignored as usual.

Just for the record, this bug has been fixed in loop-AES since version v1.3b
(June 27 2001). Latest version is here:

http://loop-aes.sourceforge.net/loop-AES-v1.5b.tar.bz2

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>