X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udevinfo.8;h=bbcc3d8f4904721a6fa9be9c09656acca6654f6f;hp=bf6a0aded1ee3a0e8061dda6de0d12e4c9a6526d;hb=fd3eeb7502d9ed52569bdb3e01a50ecbc132035e;hpb=b86f56ff0936b8bf3fddfc60bbb2697b74a3fcf7 diff --git a/udevinfo.8 b/udevinfo.8 index bf6a0aded..bbcc3d8f4 100644 --- a/udevinfo.8 +++ b/udevinfo.8 @@ -19,24 +19,26 @@ Print the version information. .B \-r Print the .B udev_root -directory. When used in conjunction with a query for the node name, the +directory. When used in conjunction with a query for the node name or the +symlink names, the .B udev_root -will be prepended. +will be prepended to query result. .TP .BI \-q " query_type" -Query the database for specified value of a created device node. +Query the database for specified value of a created device node or network +interface. .RB Needs " \-p " or " \-n " specified. .br Valid types are: -.BR name ", " symlink ", " mode " ," owner " , " group " , " path " or " all. +.BR name ", " symlink ", " path " or " all. .TP .BI \-p " sysfs_path" Specify the sysfs path of the device to query. .TP .BI \-n " name" -Specify the name of the node or the symlink for the device to query. -Partition names generated with the NAME{all_partitons} option can not be -queried, the main device must be used instead. +Specify the name of the node, the symlink or the network interface for the +device to query. Partition names generated with the NAME{all_partitons} option +can not be queried, the main device must be used instead. .TP .B \-a Print all @@ -45,8 +47,9 @@ attributes along the device chain. Useful for finding unique attributes to compose a rule. .RB Needs " \-p " specified. .TP -.B \-d -Dump the whole database. +.B \-s +Print all sysfs devices with the major/minor number, the physical device and +the bus value. .TP .B \-h Print help text.