Subject: Re: mounting non-BSD partitions.
To: None <port-i386@NetBSD.ORG, current-users@NetBSD.ORG>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: current-users
Date: 10/30/1997 21:30:44
To reply to an old message that got buried,

> Date: Sat, 21 Jun 1997 21:24:08 -0400 (EDT)

>> 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 actually need to worry about
> anything with a major number of 0.  this would include the block
> interfaces for the wd? devices.

I'd suggest that at the same point at which we go to 32 bits, we
forever reserve major number 0 for compatability, either with 16-bit
device numbers or with other-OS compatability (eg, SunOS, HP-UX,
Linux).  This means moving anything currently using major number zero,
but that seems to me to be less of a problem than the alternative.
This also makes it easy to deal with, for example, a future move to
64-bit dev_ts, because 64-major 0 will be 32-bit and 16-bit
compatability, and we won't have to fiddle the *devsw tables again.

					der Mouse

		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B