]>
Commit | Line | Data |
---|---|---|
e31474a1 GKH |
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. | |
01fc6768 KS |
28 | .RB Needs " -p " or " -n " specified. |
29 | .br | |
e31474a1 | 30 | Valid types are: |
01fc6768 | 31 | .BR name ", " symlink ", " mode " ," owner " , " group " or " path. |
e31474a1 GKH |
32 | .TP |
33 | .BI -p " sysfs_path" | |
34 | Specify the sysfs path of the device to query. | |
35 | .TP | |
36 | .BI -n " name" | |
37 | Specify the name of the node for the device to query. | |
38 | .TP | |
01fc6768 KS |
39 | .B -a |
40 | Print all | |
16378373 | 41 | .BI SYSFS{ filename } |
01fc6768 KS |
42 | attributes along the device chain. Useful for for finding |
43 | unique attributes to compose a rule. | |
44 | .RB Needs " -p " specified. | |
45 | .TP | |
e31474a1 GKH |
46 | .B -d |
47 | Dump the whole database. | |
48 | .TP | |
49 | .B -h | |
50 | Print help text. | |
51 | .SH "FILES" | |
52 | .nf | |
53 | /etc/udev/* udev config files | |
54 | .fi | |
55 | .LP | |
56 | .SH "SEE ALSO" | |
57 | .BR udev (8) | |
58 | .SH AUTHORS | |
59 | .B udevinfo | |
60 | was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with help | |
61 | from others. |