Re: Block sizes < 512 bytes

list.kernel@iahastie.clara.net
Sun, 5 Sep 1999 16:14:02 +0100 (BST)


> After testing and enjoying the panic that ensued, I did some hunting and
> discovered in fs/buffer.c that the block size must >= 512 bytes.
>
> Why is this? I admit I'm unfamiliar with most of the filesystem code, but
> it seems a little silly to limit the block size in this (seemingly
> arbitrary) way.

Mainly so we have enough bits in a 32bit value to describe a large device.

> Am I doing this wrong? Is there another way to acheive what I want?

I think you will need to run the vfs at 512 bytes and do your own work
reblocking

-
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/

-
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/