Subject: Re: non-512-byte-sector devices vs. UBC
To: None <tech-kern@netbsd.org>
From: Christoph Badura <bad@ora.de>
List: tech-kern
Date: 06/13/1999 23:40:49
chuq@chuq.com (Chuck Silvers) writes:

>on a related note, it does seem odd that the current buf interface has
>the offset of the i/o (b_blkno) in sectors, but the size of the i/o
>(b_bcount) in bytes.  it would be more consistent for both offset and size
>to have the same units.  or are there devices that can read partial
>sectors, but only at the beginning of a sector?

Tape drives do that.

-- 
Christoph Badura					www.netbsd.org

	Anything that can be done in O(N) can be done in O(N^2).
	-- Ralf Schuettau (after looking at a particular piece of code)