Subject: Re: kern/3460: block io unit for sd should be sector size
To: None <cgd@cs.cmu.edu>
From: Koji Imada - je4wob/2 <koji@math.human.nagoya-u.ac.jp>
List: netbsd-bugs
Date: 04/10/1997 10:22:26
>>>>> ">" == 2 <Koji> writes:
>> Anyway, i noticed new problems.
>> One about disklabel which sector size != physical sector size.
>> How can we get disklabel? if you dd'ed diskimage including disklabel
>> from 1k/sector disk to 512/sector disk, you can't read disklabel.
Sorry, This is resolved by reading and searching appropriate length
according to range to cover(physical sector size to 2048 if
BLKDEV_IOSIZE is used).
This modification works for "disklabel sector size != physical sector
size" condition upto 2k/sector(is there 4k/sector media?).
--
Koji Imada
koji@math.human.nagoya-u.ac.jp