chiark / gitweb /
[PATCH] create initial version of udevinfo man page.
[elogind.git] / udevinfo.8
1 .TH UDEVINFO 8 "October 2003" "" "Linux Administrator's Manual"
2 .SH NAME
3 udevinfo \- retrieve information from udev
4 .SH SYNOPSIS
5 .B udevinfo
6 .RI "[-q " query_type " -p " sysfs_path "] [-drVh]"
7 .SH "DESCRIPTION"
8 .B udevinfo
9 allows users to query the udev database for information on any of the devices
10 currently present in the system.  It also provides a way to query any device
11 in the sysfs tree to help in creating
12 .B udev
13 rule files.
14 .SH "OPTIONS"
15 .TP
16 .B -V
17 Print the version information.
18 .TP
19 .B -r
20 Print the the
21 .B udev_root
22 directory. When used in conjunction with a query for the node name, the
23 .B udev_root
24 will be prepended.
25 .TP
26 .BI -q " query_type"
27 Query the database for specified value of a created device node.
28 Valid types are:
29 .BR name ", " symlink ", " owner " , " group " or " path.
30 .TP
31 .BI -p " sysfs_path"
32 Specify the sysfs path of the device to query.
33 .TP
34 .BI -n " name"
35 Specify the name of the node for the device to query.
36 .TP
37 .B -d
38 Dump the whole database.
39 .TP
40 .B -h
41 Print help text.
42 .SH "FILES"
43 .nf
44 /etc/udev/*  udev config files
45 .fi
46 .LP
47 .SH "SEE ALSO"
48 .BR udev (8)
49 .SH AUTHORS
50 .B udevinfo
51 was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with help
52 from others.