Subject: Re: Device Major/Minor numbers
To: Marcus Comstedt <marcus@idonex.se>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: port-dreamcast
Date: 03/23/2001 13:20:25
On Fri, 23 Mar 2001, Marcus Comstedt wrote:
>   Hubert> 	mknod gdrom0 b 57 0
> 
> *bzzt*  Wrong answer, but thanks for playimng.
> 
> 57 is the _character_ special number.  Try 19 instead.

Argl, right. :)


> Granted, it would be much easier of the character and block special
> always had the same major, but that does not seem to be "The BSD
> Way"...  >;-)

Indeed. IIRC the reason for the different numbering is support of native
device nodes (and as Solaris and Ultrix and SunOS and ... have different
dev numbers, that's why we have them too :/)

BTW, why isn't this in MAKEDEV? :)


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>