X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udevinfo.8;h=ac8cc7fda5ed9c54d4324775a73ab2cd1540176d;hp=bf6a0aded1ee3a0e8061dda6de0d12e4c9a6526d;hb=8ab44e3fd0b8fd4555db973d4c2c305ca09e787d;hpb=b86f56ff0936b8bf3fddfc60bbb2697b74a3fcf7 diff --git a/udevinfo.8 b/udevinfo.8 index bf6a0aded..ac8cc7fda 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 @@ -46,7 +48,8 @@ unique attributes to compose a rule. .RB Needs " \-p " specified. .TP .B \-d -Dump the whole database. +Print the relationship between the devpath and the node name for all devices +currently available in the database. .TP .B \-h Print help text.