Re: Patch to loop device (loop.c)

Andi Kleen (ak@muc.de)
Thu, 3 Dec 1998 17:24:12 +0100


In muc.lists.linux-kernel, you wrote:
>Still some things don't work:
>First of all, I found out that the "create_missing_block" function
>doesn't seem to work, at least it didn't work on my system.
>(If you tried to create a file system with 1024 blocks (1meg) on
> a file which was only 1 Byte long it didn't work...)

That is because it is not supposed to extend the file length, but
to fill in holes in the file (unallocated blocks in the middle of a
file)

I don't think the loop device should try to extend the file, a block
device with varying length does not look like a good idea for me.

-Andi

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