lkml.org 
[lkml]   [2004]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: devfs vs udev, thoughts from a devfs user
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:1.018 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site