Messages in this thread |  | | Date | Fri, 21 Jun 1996 18:57:50 -0400 (EDT) | From | Hasdi R Hashim <> | Subject | Re: SCSI device numbering (was: Re: Ideas for v2.1 |
| |
On 20 Jun 1996, H. Peter Anvin wrote: > That being said, as the Linux Device Registrar I strongly advice that > 2.1 *must* be the time to increase the size of dev_t to a mininum of > 32 bit; I personally advocate 64 bit with support for sparse > allocation of major numbers. >
Why not use strings? The first character as the device driver handler (major number) and the rest of the strings as the parameter (many minor numbers:). If you run out of major numbers you can assign one as stub for other device drivers (something like subdirectory).
Okay, I know, I know. We won't be needing unlimited numbers of major/minor numbers. Changing dev_t to 64 is as easy as changing a line in an include file. :/
Hasdi
|  |