Re: [PATCH] Re: loop device changes the block size and causes misalignedaccesses to the real device, which can't be processed

From: Ruben Garcia
Date: Mon Jan 12 2004 - 09:15:14 EST


Ruben Garcia wrote:
Ok, Ben's patch will make the loop device work as any other device, and then ext2 will complain that the hard blocksize is bigger than the blocksize used for ext2 (in my example of 1k for ext2) and fail to mount it.

This is better than getting misaligned transfers et all, and is consistent with using the real device.

On the other hand, it is much more useful being able to actually mount the ext2 fs, and I managed to do that with the loop-aes patch (Thanks Jari Ruusu)

I confirm this bug closed. Thanks to all


I tried Ben's patch and it does work for encrypted CDs (i.e. you can mount them) I'm going to try a non encrypted CD now to see what I find.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/