Re: devfs vs udev, thoughts from a devfs user

Greg KH
2004-02-13T22:18:51Z

On Fri, Feb 13, 2004 at 02:08:36PM -0800, walt wrote:
> Greg KH wrote:
>
> > ...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