Messages in this thread | | | Date | Sun, 4 Jan 1998 00:29:18 +0300 (IST) | From | Gadi Oxman <> | Subject | Re: block devices |
| |
On Fri, 2 Jan 1998, Albert D. Cahalan wrote:
> There is a misfeature in drivers/block/ll_rw_blk.c, reported at line 539. > It shows up on CD-ROMs mostly, though the FAT code has some very ugly > hacks to "fix" related problems and I think the aliasing troubles > are related too. > > The following error is from mounting a SunOS CD-ROM with UFS: > ll_rw_block: device 16:00: only 2048-char blocks implemented (1024) > > With the whole filesystem copied (using dd) to a Zip disk: > ll_rw_block: device 08:04: only 512-char blocks implemented (1024) > > It works from a ramdisk though, so UFS is working. Something is very > broken if filesystems need to worry about the physical sector size > and alignment.
The above refers to the logical filesystem blocksize -- we need to add something like "set_blocksize(dev, logical_blocksize)" before the first use of ll_rw_block()/bread()/etc.
Gadi
| |