summaryrefslogtreecommitdiff
path: root/udev.8
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-01-19 19:40:32 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:13:17 -0700
commitb2a21a35476b4780ef1fc68c60216117ab66fa2b (patch)
treec45467c4d55635e9ce80477e27e1175b5a7a927c /udev.8
parent778050914360dfb469817e12a1080bbf98422ef2 (diff)
[PATCH] udev - reverse user query options
Here we get the ability to query with the name of the node instead of the device path. It uses a linear search over the whole database. kay@pim:~/src/udev.kay$ ./udev -q path -n video/webcam0 /class/video4linux/video0 New version, with better function return codes for error handling.
Diffstat (limited to 'udev.8')
-rw-r--r--udev.87
1 files changed, 5 insertions, 2 deletions
diff --git a/udev.8 b/udev.8
index 0421fee4e6..ff89e435ff 100644
--- a/udev.8
+++ b/udev.8
@@ -50,10 +50,13 @@ will be prepended.
.BI -q " query_type"
Query the database for specified value of a created device node.
Valid types are:
-.BR name ", " symlink ", " owner " or " group .
+.BR name ", " symlink ", " owner " , " group " or " path.
.TP
.BI -p " sysfs_path"
-Specify the sysfs path needed for the query.
+Specify the sysfs path of the device to query.
+.TP
+.BI -n " name"
+Specify the name of the node for the device to query.
.TP
.B -d
Dump the whole database.