LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Devices and nodes- Association ?? (https://www.linuxquestions.org/questions/linux-kernel-70/devices-and-nodes-association-757426/)

kewl 09-24-2009 02:14 AM

Devices and nodes- Association ??
 
Hi all,
I have built kernel with static drivers.I am creating the nodes at the bootup and I wanted to know How would the devices get assigned to the nodes?
If I have 4 usb pendrives and for each there is a node,.. if I plugin the 5th bluetooth device and bootup the system,.. How would the bluetooth device get the node?
is it by the sequence in which it is detected?

chaosless 10-01-2009 11:16 AM

the device inode major/minor number related to the device driver/position

are you writing the device driver? or installing one that is provided?

in the boot sequence (generally) the appropriate boot-level start scripts (something like /etc/init.d/rc3.d/S*) are run - depending on what linux/unix you're running?


All times are GMT -5. The time now is 04:07 PM.