[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB printer difficulties



Thanks Nathan!

On Friday 04 January 2002 04:33, Nathan Orenstein wrote:
>  wht the heck are major/minor numbers?!?
>
>  From Rubini's "LINUX Device Drivers", P.43, 44:
>
> Char devices are accessed through names in the file system, usually located
> in the /dev directory. Device files are identified by "c" in the first
> column of the output of command ls -l. You see two numbers, before the date
> of last modification, {seperated by a comma) on device file entries. These
> numbers are the major and minor numbers. The major number identifies the
> driver associated with the device. Adding a new driver to the system means
> assigning a major number to it.
> The minor number is only used by the device driver. It provides the driver
> with a way to distinguish between multiple devices which it may control.
>
> I hope this answers the question.
>
>                                                      Nathan
>
>
>                /~~~~~~~~~~~~~~~~~~--------~~~~~~~~~~~~~~~~~~~~~~~~~~\
>
>                |                 EAGLES MAY SOAR                    |
>                |   BUT WEASELS NEVER GET SUCKED INTO JET ENGINES    |
>
>                \----------------------------------------------------/

-- 
The archive is at https://www.libranetlinux.com/archive.html
To unsubscribe, send email to [email protected]
with a subject of UNSUBSCRIBE.