chiark / gitweb /
udevadm: add info option --device-id-of-file=<file>
[elogind.git] / udevadm.8
index 23502215ecdca24d5f5e3cbd5062f1e00bc6f2ec..c07e7c60f02687e7fad7c8a139bbce6999e3931a 100644 (file)
--- a/udevadm.8
+++ b/udevadm.8
@@ -31,7 +31,7 @@ udevadm - udev management tool
 \fBudevadm help\fR
 .SH "DESCRIPTION"
 .PP
-udevadm expects a command and command specific options\. It controls the runtime behavior of udev, request kernel events, manages the event queue, and provides simple debugging mechanisms\.
+udevadm expects a command and command specific options\. It controls the runtime behavior of udev, requests kernel events, manages the event queue, and provides simple debugging mechanisms\.
 .SH "OPTIONS"
 .SS "udevadm info"
 .PP
@@ -56,7 +56,7 @@ to identify the specified device\. Valid queries are:
 The devpath of the device to query\.
 .RE
 .PP
-\fB\-\-name=\fR\fB\fInode\fR\fR
+\fB\-\-name=\fR\fB\fIfile\fR\fR
 .RS 4
 The name of the device node or a symlink to query
 .RE
@@ -76,6 +76,11 @@ query, the query returns the absolute path including the root directory\.
 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\-\-device\-id\-of\-file=\fR\fB\fIfile\fR\fR
+.RS 4
+Print major/minor numbers of the underlying device, where the file lives on\.
+.RE
+.PP
 \fB\-\-export\-db\fR
 .RS 4
 Export the content of the udev database\.