summaryrefslogtreecommitdiff
path: root/udevinfo.8
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-01-26 19:56:19 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:19 -0700
commite31474a1e1ede5692f6dd7c710e4f2682588659e (patch)
treef2737c632e86beea060caf66f43319f1e7d7dd18 /udevinfo.8
parent8fc34188503e0dd131eb215b7b1832e21434c7c8 (diff)
[PATCH] create initial version of udevinfo man page.
Diffstat (limited to 'udevinfo.8')
-rw-r--r--udevinfo.852
1 files changed, 52 insertions, 0 deletions
diff --git a/udevinfo.8 b/udevinfo.8
new file mode 100644
index 0000000000..852e2ae93f
--- /dev/null
+++ b/udevinfo.8
@@ -0,0 +1,52 @@
+.TH UDEVINFO 8 "October 2003" "" "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 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
+.B udev
+rule files.
+.SH "OPTIONS"
+.TP
+.B -V
+Print the version information.
+.TP
+.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"
+Query the database for specified value of a created device node.
+Valid types are:
+.BR name ", " symlink ", " owner " , " group " or " path.
+.TP
+.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.
+.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.