devfs vs udev, thoughts from a devfs user
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Greg KH
...sysfs exports loads of info about every device in your system, not
only the major:minor info. It exports what device this major:minor is assigned to, the topology of the device...
For the benefit of us schlubs looking in from the outside, could you tell us what you mean by 'topology' ?
Thanks, from a gentoo/udev user!
Quoted 8 lines · walt
Quoted 3 lines · Greg KH
...sysfs exports loads of info about every device in your system, not
only the major:minor info. It exports what device this major:minor is assigned to, the topology of the device...For the benefit of us schlubs looking in from the outside, could you tell us what you mean by 'topology' ?
Run 'tree' from /sys/devices/ to see the topology of how all of the different devices in your system are hooked together. Notice how the usb mouse is connected to a usb controller which is connected to a pci device, and so on.
udev can use that "chain" of devices to determine how to name your device.
thanks,
greg k-h