summaryrefslogtreecommitdiff
path: root/udevadm.xml
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-11-09 10:22:30 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-11-09 10:22:30 +0100
commitf338bac88574c68a71520dd71e325ddcce6fef56 (patch)
treedb453600a83c127841b6b4b5b7af82fecb90acd3 /udevadm.xml
parenta9780590f4459da37368ab55a32568ca7f0d6821 (diff)
udevadm: add info option --device-id-of-file=<file>
Now, that udevinfo is no longer in /usr, we can add this: $ udevadm info --device-id-of-file=/ 8 5 to create a dynamic rule to provide /dev/root.
Diffstat (limited to 'udevadm.xml')
-rw-r--r--udevadm.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/udevadm.xml b/udevadm.xml
index 0518c3ba1a..14bc897c11 100644
--- a/udevadm.xml
+++ b/udevadm.xml
@@ -80,7 +80,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><option>--name=<replaceable>node</replaceable></option></term>
+ <term><option>--name=<replaceable>file</replaceable></option></term>
<listitem>
<para>The name of the device node or a symlink to query</para>
</listitem>
@@ -102,6 +102,13 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--device-id-of-file=<replaceable>file</replaceable></option></term>
+ <listitem>
+ <para>Print major/minor numbers of the underlying device, where the file
+ lives on.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--export-db</option></term>
<listitem>
<para>Export the content of the udev database.</para>