chiark / gitweb /
[PATCH] fix the Makefile to install the init script into the proper directory
[elogind.git] / udevinfo.8
index 852e2ae93f038b72a3d0e53bc2e4f3666955b89f..528fa4ad958660c5c079f93f91a4048a7e78ee77 100644 (file)
@@ -1,9 +1,9 @@
-.TH UDEVINFO 8 "October 2003" "" "Linux Administrator's Manual"
+.TH UDEVINFO 8 "January 2004" "" "Linux Administrator's Manual"
 .SH NAME
 udevinfo \- retrieve information from udev
 .SH SYNOPSIS
 .B udevinfo
-.RI "[-q " query_type " -p " sysfs_path "] [-drVh]"
+.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
@@ -13,31 +13,40 @@ in the sysfs tree to help in creating
 rule files.
 .SH "OPTIONS"
 .TP
-.B -V
+.B \-V
 Print the version information.
 .TP
-.B -r
+.B \-r
 Print the the
 .B udev_root
 directory. When used in conjunction with a query for the node name, the
 .B udev_root
 will be prepended.
 .TP
-.BI -q " query_type"
+.BI \-q " query_type"
 Query the database for specified value of a created device node.
+.RB Needs " \-p " or " \-n " specified.
+.br
 Valid types are:
-.BR name ", " symlink ", " owner " , " group " or " path.
+.BR name ", " symlink ", " mode " ," owner " , " group " , " path " or " all.
 .TP
-.BI -p " sysfs_path"
+.BI \-p " sysfs_path"
 Specify the sysfs path of the device to query.
 .TP
-.BI -n " name"
-Specify the name of the node for the device to query.
+.BI \-n " name"
+Specify the name of the node or the symlink for the device to query.
 .TP
-.B -d
+.B \-a
+Print all
+.BI SYSFS{ filename }
+attributes along the device chain. Useful for for finding
+unique attributes to compose a rule.
+.RB Needs " \-p " specified.
+.TP
+.B \-d
 Dump the whole database.
 .TP
-.B -h
+.B \-h
 Print help text.
 .SH "FILES"
 .nf