summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-06-16 11:11:07 +0200
committerKay Sievers <kay.sievers@suse.de>2006-06-16 11:11:07 +0200
commit6cf19e52c39eab9a13be4afc0d1d45318cd530a7 (patch)
treedf0122a7abcac7cf637be58a8959a8d6d21c7014
parent3c9e5740eb326de81f9611a8b77ae843700b0a81 (diff)
udevinfo: clarify parent device attribute use
-rw-r--r--udevinfo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/udevinfo.c b/udevinfo.c
index f8d0b6125a..567193adc7 100644
--- a/udevinfo.c
+++ b/udevinfo.c
@@ -91,11 +91,11 @@ static int print_device_chain(const char *devpath)
struct sysfs_device *dev;
printf("\n"
- "udevinfo starts with the device the node belongs to and then walks up the\n"
- "device chain, to print for every device found, all possibly useful attributes\n"
- "in the udev key format.\n"
- "Only attributes within one device section may be used together in one rule,\n"
- "to match the device for which the node will be created.\n"
+ "Udevinfo starts with the device specified by the devpath and then\n"
+ "walks up the chain of parent devices. It prints for every device\n"
+ "found, all possible attributes in the udev rules key format.\n"
+ "A rule to match, can be composed by the attributes of the device\n"
+ "and the attributes from one single parent device.\n"
"\n");
dev = sysfs_device_get(devpath);
@@ -112,7 +112,7 @@ static int print_device_chain(const char *devpath)
dev = sysfs_device_get_parent(dev);
if (dev == NULL)
break;
- printf(" looking at device '%s':\n", dev->devpath);
+ printf(" looking at parent device '%s':\n", dev->devpath);
printf(" ID==\"%s\"\n", dev->kernel_name);
printf(" BUS==\"%s\"\n", dev->subsystem);
printf(" DRIVER==\"%s\"\n", dev->driver);