[ale] instruction needed

Doug McNash dmcnash at charter.net
Wed Jan 14 15:10:37 EST 2004


Use the source Luke?

Actually in the kernel-docs package not the kernel source, I think.

file:/usr/src/linux-2.4/Documentation/devices.txt

On Wed, 2004-01-14 at 14:29, Dow Hurst wrote:
> Is there a listing that identifies the hardware to the major 
> minor numbers that a person could keep as a reference?  Is 
> it in a updated listing on the web somewhere as the hardware 
> that the kernel supports increases?  I've never looked at 
> the kernel source, so is it in there where I could access it 
> for any given kernel version?  Thanks,
> Dow
> 
> 
> Doug McNash wrote:
> >>What's a "major/minor device number"?
> > 
> > 
> > The short answer is that it is simply an index into a kernel table
> > filled with driver (function) entry points.  A call to
> > open("/dev/somedev",..) will execute this code to prep the device. 
> > Likewise the minor number usually indexes a data structure for a
> > specific instance of a device.
-- 
doug mcnash



More information about the Ale mailing list