chiark / gitweb /
run_program: log "info" not "error" if program is missing
[elogind.git] / udevinfo.8
index 4430f5d9d30cd3f31a9f24ca7d26f8e00588a01b..337f2064e4c1e3c9c37176d220c6c9bc95541532 100644 (file)
@@ -1,6 +1,6 @@
 .\"     Title: udevinfo
 .\"    Author: 
-.\" Generator: DocBook XSL Stylesheets v1.70.1 <http://docbook.sf.net/>
+.\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
 .\"      Date: August 2005
 .\"    Manual: udevinfo
 .\"    Source: udev
 .\" disable justification (adjust text to left margin only)
 .ad l
 .SH "NAME"
-udevinfo \- query device information from the udev database
+udevinfo \- query udev device information
 .SH "SYNOPSIS"
 .HP 9
-\fBudevinfo\fR [\fB\-q\ \fR\fB\fIquery\-type\fR\fR] [\fB\-a\ \fR] [\fB\-p\ \fR\fB\fIdevpath\fR\fR] [\fB\-n\ \fR\fB\fInode\fR\fR] [\fB\-r\fR] [\fB\-e\fR] [\fB\-V\fR] [\fB\-h\fR]
+\fBudevinfo\fR [\fB\-\-query=\fR\fB\fIquery\-type\fR\fR] [\fB\-\-path=\fR\fB\fIdevpath\fR\fR] [\fB\-\-name=\fR\fB\fInode\fR\fR] [\fB\-\-root\fR] [\fB\-\-attribute\-walk\fR] [\fB\-\-export\-db\fR] [\fB\-\-version\fR] [\fB\-\-help\fR]
 .SH "DESCRIPTION"
 .PP
 udevinfo queries the udev database for device information stored in the udev database. It can also query the properties of a device from its sysfs representation to help creating udev rules that match this device.
 .SH "OPTIONS"
-.TP 3n
-\fB\-q\fR
+.PP
+\fB\-\-query=\fR\fB\fItype\fR\fR
+.RS 4
 Query the database for specified type of device data. It needs the
-\fB\-p\fR
+\fB\-\-path\fR
 or
-\fB\-n\fR
+\fB\-\-name\fR
 to identify the specified device. Valid queries are:
 \fBname\fR,
 \fBsymlink\fR,
 \fBpath\fR,
 \fBenv\fR,
 \fBall\fR.
-.TP 3n
-\fB\-a\fR
-Print all sysfs properties of the specified device that can be used in udev rules to match the specified device. It prints all devices along the chain, up to the root of sysfs that can be used in udev rules.
-.TP 3n
-\fB\-p \fR\fB\fIdevpath\fR\fR
+.RE
+.PP
+\fB\-\-path=\fR\fB\fIdevpath\fR\fR
+.RS 4
 The devpath of the device to query.
-.TP 3n
-\fB\-n \fR\fB\fInode\fR\fR
+.RE
+.PP
+\fB\-\-name=\fR\fB\fInode\fR\fR
+.RS 4
 The name of the device node or a symlink to query
-.TP 3n
-\fB\-r\fR
+.RE
+.PP
+\fB\-\-root\fR
+.RS 4
 The udev root directory:
 \fI/dev\fR. If used in conjunction with a
 \fBname\fR
 or
 \fBsymlink\fR
-query, the query returns the absolute path.
-.TP 3n
-\fB\-e\fR
+query, the query returns the absolute path including the root directory.
+.RE
+.PP
+\fB\-\-attribute\-walk\fR
+.RS 4
+Print all sysfs properties of the specified device that can be used in udev rules to match the specified device. It prints all devices along the chain, up to the root of sysfs that can be used in udev rules.
+.RE
+.PP
+\fB\-\-export\-db\fR
+.RS 4
 Export the content of the udev database.
-.TP 3n
-\fB\-h\fR
+.RE
+.PP
+\fB\-\-version\fR
+.RS 4
+Print version.
+.RE
+.PP
+\fB\-\-help\fR
+.RS 4
 Print help text.
+.RE
 .SH "AUTHOR"
 .PP
 Written by Kay Sievers