[ale] What are the major/minor #s for sr0 ?

Dow Hurst dhurst at kennesaw.edu
Thu Feb 27 10:24:07 EST 2003


The BillyBob distro with all devices named after the famous people you 
pick!  My /dev/null could /dev/Clinton or some such nonsense!  What a 
fun idea!
Dow


Danny Cox wrote:

>Courtney,
>
>On Wed, 2003-02-26 at 08:19, Courtney Thomas wrote:
>  
>
>>Also, it does work as scd0, but how is that.... if it is identified as 
>>sr0 by it's driver, [may be unanswerable due to lack of detail about 
>>driver function] ?
>>    
>>
>
>	Because it's a "special file" ;-).  The name means nothing, except that
>some programs expect certain names (e.g. hdparm expects /dev/hdM). 
>Other than that you *could* rename "scd0" to "BillyBob", though I don't
>recommend it ;-).  The major and minor device numbers are what the
>kernel uses to determine which driver handles the requests.  
>
>	When the drivers init routines are called, they register for the major
>devices they "own".  In this case, the scsi subsystem tells the kernel
>that it wants the major 11s, and internally to the scsi driver, directs
>major 11 requests to its cdrom subsystem.
>
>	Clear as mud?
>
>  
>

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428
Systems Support Specialist    Fax: 770-423-6744
1000 Chastain Rd., Bldg. 12
Chemistry Department SC428  Email:dhurst at kennesaw.edu
Kennesaw State University         Dow.Hurst at mindspring.com
Kennesaw, GA 30144
*********************************
*Computational Chemistry is fun!*
*********************************


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list