diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2004-11-09 12:11:46 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 22:21:19 -0700 |
commit | f156b6d2037ff09f7218e11d5326c05488356ea1 (patch) | |
tree | 56c7b5669a3d9869b0b527780d0b0379eab11abf /klibc | |
parent | 4a231017ff6e9f66a685b0d1e4e49dc46645bb40 (diff) |
[PATCH] add sysfs info walk to udevinfo
The option "-s" will get information about the major/minor,
the physical device, the bus value and the driver from sysfs for
all class and block devices:
kay@pim udev.kay]$ ./udevinfo -s
DEVPATH '/sys/block/sda'
SUBSYSTEM 'block'
NAME 'sda'
MAJORMINOR '8:0'
PHYSDEVPATH '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host2/target2:0:0/2:0:0:0'
PHYSDEVPATHBUS 'scsi'
DRIVER 'sd'
DEVPATH '/sys/class/input/mice'
SUBSYSTEM 'input'
NAME 'mice'
MAJORMINOR '13:63'
DEVPATH '/sys/class/input/mouse0'
SUBSYSTEM 'input'
NAME 'mouse0'
MAJORMINOR '13:32'
...
Diffstat (limited to 'klibc')
0 files changed, 0 insertions, 0 deletions