From: dongshengyuan <545258830@qq.com>
Date: Mon, 13 Jul 2026 02:41:03 +0000 (+0800)
Subject: man/udevadm: update device-id-of-file arguments
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8dd0bfbbe77da2ae643b265749ce82cb23e5328;p=thirdparty%2Fsystemd.git
man/udevadm: update device-id-of-file arguments
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
---
diff --git a/man/udevadm.xml b/man/udevadm.xml
index c9a30901edb..2a9963cd140 100644
--- a/man/udevadm.xml
+++ b/man/udevadm.xml
@@ -240,7 +240,7 @@
Print major/minor numbers of the underlying device, where the file lives on.
- If this is specified, all positional arguments are ignored.
+ If this is specified, no positional arguments are accepted.