Subject: Re: cdev vs. bdev (32 bit dev_t)
To: Paul A Vixie <>
From: Todd Vierling <tv@NetBSD.ORG>
List: tech-kern
Date: 01/13/1998 20:48:28
On Tue, 13 Jan 1998, Paul A Vixie wrote:

: One thing about these dev_t's that we havn't discussed is how many subparts
: we need.  HP-UX did three part dev_t's years ago, and I see that BSD/OS 3.*
: has done the same (see below).  Is this NetBSD's big opportunity to separate
: the dev_t encoded options from the unit numbers?  Mostly this is a tape dev
: issue but once you have it you get to use it in other ways too.

I think that, as long as we really only have one layer of abstraction in our
devsw, we really only need two parts (major and minor).  Option flags will
probabl;y vary in number and use from device to device, and I think they
should just be encoded into the minor number as bits.  ("It's just a little
bit of binary arithmetic...."  :)

===== Todd Vierling (Personal =====
== "There's a myth that there is a scarcity of justice to go around, so
== that if we extend justice to 'those people,' it will somehow erode the
== quality of justice everyone else receives."  -- Maria Price