X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udevinfo.8;h=bbcc3d8f4904721a6fa9be9c09656acca6654f6f;hp=528fa4ad958660c5c079f93f91a4048a7e78ee77;hb=4497fcbf7159975560b680fd8130adcd414d3d67;hpb=8ea84a8a781c22f67def088eb9df581590393cda diff --git a/udevinfo.8 b/udevinfo.8 index 528fa4ad9..bbcc3d8f4 100644 --- a/udevinfo.8 +++ b/udevinfo.8 @@ -6,45 +6,50 @@ udevinfo \- retrieve information from udev .RI "[\-q " query_type " \-p " sysfs_path "] [\-drVh]" .SH "DESCRIPTION" .B udevinfo -allows users to query the udev database for information on any of the devices -currently present in the system. It also provides a way to query any device -in the sysfs tree to help in creating +allows users to query the udev database for information on any device +currently present on the system. It also provides a way to query any device +in the sysfs tree to help creating .B udev -rule files. +rules. .SH "OPTIONS" .TP .B \-V Print the version information. .TP .B \-r -Print the the +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. +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 .BI SYSFS{ filename } -attributes along the device chain. Useful for for finding +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.