On Tuesday 16 November 2004 17:20, jnf wrote: > I could be wrong here, and anyone can feel free to correct me- but IIRC > the driver is determined by the major/minor number of the device in > question. The major is the actual driver, and while my terminology is > wrong the minor is like the 'sub driver', this is possible because of > pci's ability to share IRQ's, and when it is shared, the interrupt hits > all of the drivers, when no driver claims the interrupt as its own- this ... I don't things are quite as simple as that. My case is one of those. /dev/hdc (and /dev/hdd) are both cdroms, so somewhere (and this is basically one of the things I am looking for) the request to device 22,0 (what /dev/hdc is in major and minor numbers) recognizes this is not a disk but a cdrom. (I tested two systems one of which /dev/hdc is a disk, the other a cdrom - they both have 22,0 as the major and minor numbers) -- Alan Chandler alan@xxxxxxxxxxxxxxxxxxxxx First they ignore you, then they laugh at you, then they fight you, then you win. --Gandhi -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/