Re: Block size problem

OGAWA Hirofumi (hirofumi@mail.parknet.co.jp)
Wed, 11 Sep 2002 02:58:51 +0900


Jan Kara <jack@suse.cz> writes:

> Hello,
>
> my friend has a following problem: He has FAT filesystem on MO disk
> and computer with SCSI drive reading MO disk. The problem is that
> smallest blocksize supported by the driver is larger than 512 bytes
> which FAT needs. What is the right solution?

AFAIK, since originally FAT driver also isn't supporting blocksize
smaller than device sector size, I think he should use blocksize
larger than device sector size.

for example,

$ mkdosfs -S 2048 /dev/xxx

> Another solution I though about is creating loopback directly to
> device but loopback device supports only blocksize same as
> underlying device... So do you think it would be nice/useful if
> loopback device supported any blocksize?

Since it isn't the problem of only FAT, I think it would be useful.

-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/