]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/udevadm: update device-id-of-file arguments
authordongshengyuan <545258830@qq.com>
Mon, 13 Jul 2026 02:41:03 +0000 (10:41 +0800)
committerdongshengyuan <545258830@qq.com>
Mon, 13 Jul 2026 04:18:49 +0000 (12:18 +0800)
udevadm info rejects positional devices together with
--device-id-of-file=.

Document that behavior instead of saying positional arguments are
ignored.

Reproducer:
  udevadm info --device-id-of-file=/etc/passwd /sys

Before:
  Devices are not allowed with -d/--device-id-of-file and -c/--cleanup-db.

Follow-up:
  31767b92a0b3980e0ae8a0f44715f86e72c35f77

man/udevadm.xml

index c9a30901edbd3878d27d8173c5659772776d8c43..2a9963cd14081ba9b9935482838874cfc89473cc 100644 (file)
           <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.
-            If this is specified, all positional arguments are ignored.</para>
+            If this is specified, no positional arguments are accepted.</para>
           </listitem>
         </varlistentry>
         <varlistentry>