Re: loop with msdos

Theodore Ts'o (tytso@mit.edu)
Fri, 5 Apr 1996 14:19:15 -0500


Date: Fri, 5 Apr 1996 14:07:06 +0200
From: aeb@cwi.nl

::: ll_rw_block: device 07:00: only 1024-char blocks implemented (512)

: Apparently the loop-mounted filesystem has to have the same blocksize
: as the underlying filesystem. I tried tweaking the code 6 months ago
: but never got anywhere with it (ended up using mtools instead :-)

Yes, the present loop wants the same blocksize as the underlying
file system. For Ted that was reasonable - he mainly thought of
loop as a way to encrypt things (I think). But as it turns out loop
is immensely useful to turn a file into a disk or filesystem,
and for that use it is unnatural to require the block sizes to be
the same.

Nope, I thought of it as being useful for these purposes too. In fact
that was my primary motivation for writing the loop filesystem. I just
never had the time to enhance it to deal with differing block sizes. I
do agree that sooner or later that restriction will have to be removed.

- Ted