Subject: Re: Supporting sector size != DEV_BSIZE
To: Trevin Beattie <trevin@xmission.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 06/05/2002 08:58:37
On Tue, 4 Jun 2002, Trevin Beattie wrote:

> Oops!
> Not quite as kewl, but something about that function name seems vaguely
> familiar...
>
> (hint: line 511)

If you look close, you'll see that that line was not coded for the case
when the sector size is smaller than the disk size (lp->d_secsize /
DEV_BSIZE becomes 0 in integer math). Which is ironic as lines above work
in that case. :-|

Take care,

Bill