In sys/mkdev.h, we have:

/*
 * SVR3/Pre-EFT device number constants.
 */
#define ONBITSMAJOR     7       /* # of SVR3 major device bits */
#define ONBITSMINOR     8       /* # of SVR3 minor device bits */
#define OMAXMAJ         0x7f    /* SVR3 max major value */
#define OMAXMIN         0xff    /* SVR3 max major value */

There is also in libc a _makedev() that could in theory be used to use 
SVR3 device numbers.  But I don't think it is ever called by any code.

Couldn't we just get rid of these defines now?  We've long since passed 
the point where those values are usable.  I suppose if someone had an 
svr3 binary mknod, but such a program would be utterly useless since it 
couldn't create nodes used by a great many drivers.

Can we nuke 'em?

    -- Garrett


_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to