From e8dd0bfbbe77da2ae643b265749ce82cb23e5328 Mon Sep 17 00:00:00 2001
From: dongshengyuan <545258830@qq.com>
Date: Mon, 13 Jul 2026 10:41:03 +0800
Subject: [PATCH] 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
---
man/udevadm.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/udevadm.xml b/man/udevadm.xml
index c9a30901ed..2a9963cd14 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.