>Unnecessary. Note that you can distinguish old and new trivially, by
>the expedient of noting that the top 16 bits of old are always
>zero. This means that /dev/console (as 0,0) is the only special case
>you have to worry about.
that's not entirely accurate...you actually need to worry about
anything with a major number of 0. this would include the block
interfaces for the wd? devices.
reason being...
/dev/console:
0,0 (under 16 bits) --> 0000000000000000 00000000 00000000
unused major minor
0,0 (under 32 bits) --> 0000000000000000 0000000000000000
major minor
/dev/wd0b:
0,1 (under 16 bits) --> 0000000000000000 00000000 00000001
unused major minor
0,1 (under 32 bits) --> 0000000000000000 0000000000000001
major minor
--
|-----< "CODE WARRIOR" >-----|
andrew@echonyc.com (TheMan) * "ah! i see you have the internet
codewarrior@daemon.org that goes *ping*!"
warfare@graffiti.com * "information is power -- share the wealth."