summaryrefslogtreecommitdiff
path: root/udevinfo.8.in
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-04-01 23:47:23 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:14 -0700
commit438ac360e803c5b05d3c50c7bc93babbe0bea37d (patch)
tree0d8ec63ba35c1af385f2a44f0fb178b585e1b2e6 /udevinfo.8.in
parent42e4b6819ff91725fc101e1169e30ed27a7da3ca (diff)
[PATCH] first step of making man pages dynamically generated.
Based on a an original patch from Olaf Hering <olh@suse.de>
Diffstat (limited to 'udevinfo.8.in')
-rw-r--r--udevinfo.8.in64
1 files changed, 64 insertions, 0 deletions
diff --git a/udevinfo.8.in b/udevinfo.8.in
new file mode 100644
index 0000000000..0588084cac
--- /dev/null
+++ b/udevinfo.8.in
@@ -0,0 +1,64 @@
+.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]"
+.SH "DESCRIPTION"
+.B udevinfo
+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
+rules.
+.SH "OPTIONS"
+.TP
+.B \-V
+Print the version information.
+.TP
+.B \-r
+Print 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"
+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.
+.TP
+.BI \-p " sysfs_path"
+Specify the sysfs path of the device to query.
+.TP
+.BI \-n " name"
+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 finding
+unique attributes to compose a rule.
+.RB Needs " \-p " specified.
+.TP
+.B \-d
+Dump the whole database.
+.TP
+.B \-h
+Print help text.
+.SH "FILES"
+.nf
+/etc/udev/* udev config files
+.fi
+.LP
+.SH "SEE ALSO"
+.BR udev (8)
+.SH AUTHORS
+.B udevinfo
+was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with help
+from others.