chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ID_TYPE to the id probers
[elogind.git]
/
udevinfo.8
diff --git
a/udevinfo.8
b/udevinfo.8
index ad16ce6aed43fdc8539ac5cd6ca60ee6a63e5201..ac8cc7fda5ed9c54d4324775a73ab2cd1540176d 100644
(file)
--- a/
udevinfo.8
+++ b/
udevinfo.8
@@
-6,45
+6,50
@@
udevinfo \- retrieve information from udev
.RI "[\-q " query_type " \-p " sysfs_path "] [\-drVh]"
.SH "DESCRIPTION"
.B udevinfo
.RI "[\-q " query_type " \-p " sysfs_path "] [\-drVh]"
.SH "DESCRIPTION"
.B udevinfo
-allows users to query the udev database for information on any
of the devices
-currently present
i
n the system. It also provides a way to query any device
-in the sysfs tree to help
in
creating
+allows users to query the udev database for information on any
device
+currently present
o
n the system. It also provides a way to query any device
+in the sysfs tree to help creating
.B udev
.B udev
-rule
file
s.
+rules.
.SH "OPTIONS"
.TP
.B \-V
Print the version information.
.TP
.B \-r
.SH "OPTIONS"
.TP
.B \-V
Print the version information.
.TP
.B \-r
-Print the
the
+Print the
.B udev_root
.B udev_root
-directory. When used in conjunction with a query for the node name, the
+directory. When used in conjunction with a query for the node name or the
+symlink names, the
.B udev_root
.B udev_root
-will be prepended.
+will be prepended
to query result
.
.TP
.BI \-q " query_type"
.TP
.BI \-q " query_type"
-Query the database for specified value of a created device node.
+Query the database for specified value of a created device node or network
+interface.
.RB Needs " \-p " or " \-n " specified.
.br
Valid types are:
.RB Needs " \-p " or " \-n " specified.
.br
Valid types are:
-.BR name ", " symlink ", "
mode " ," owner " , " group " or " path
.
+.BR name ", " symlink ", "
path " or " all
.
.TP
.BI \-p " sysfs_path"
Specify the sysfs path of the device to query.
.TP
.BI \-n " name"
.TP
.BI \-p " sysfs_path"
Specify the sysfs path of the device to query.
.TP
.BI \-n " name"
-Specify the name of the node for the device to query.
+Specify the name of the node, the symlink or the network interface for the
+device to query. Partition names generated with the NAME{all_partitons} option
+can not be queried, the main device must be used instead.
.TP
.B \-a
Print all
.BI SYSFS{ filename }
.TP
.B \-a
Print all
.BI SYSFS{ filename }
-attributes along the device chain. Useful for f
or f
inding
+attributes along the device chain. Useful for finding
unique attributes to compose a rule.
.RB Needs " \-p " specified.
.TP
.B \-d
unique attributes to compose a rule.
.RB Needs " \-p " specified.
.TP
.B \-d
-Dump the whole database.
+Print the relationship between the devpath and the node name for all devices
+currently available in the database.
.TP
.B \-h
Print help text.
.TP
.B \-h
Print help text.