Simplifying devfs: minor == unit

Ed Schouten ed at 80386.nl
Tue May 27 19:50:03 UTC 2008


* Kostik Belousov <kostikbel at gmail.com> wrote:
> In fact, I do not understand why you leave the UMINORMASK stuff. It makes
> no sense with the unit == minor, IMHO.

That's because the uminor() and umajor() routines operate on user device
numbers (dev_t's). We need to leave those intact, to make things like
the binary compat work.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20080527/9c1c1ade/attachment.pgp


More information about the freebsd-arch mailing list