chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] handle /etc/hotplug.d/ only if the event comes from udevd
[elogind.git]
/
udevinfo.8
diff --git
a/udevinfo.8
b/udevinfo.8
index fdb0e6f62bc2545559c0f3e41d7b57c8da025a89..bbcc3d8f4904721a6fa9be9c09656acca6654f6f 100644
(file)
--- a/
udevinfo.8
+++ b/
udevinfo.8
@@
-1,52
+1,57
@@
-.TH UDEVINFO 8 "
October 2003
" "" "Linux Administrator's Manual"
+.TH UDEVINFO 8 "
January 2004
" "" "Linux Administrator's Manual"
.SH NAME
udevinfo \- retrieve information from udev
.SH SYNOPSIS
.B udevinfo
.SH NAME
udevinfo \- retrieve information from udev
.SH SYNOPSIS
.B udevinfo
-.RI "[
-q " query_type " -p " sysfs_path "] [
-drVh]"
+.RI "[
\-q " query_type " \-p " sysfs_path "] [\
-drVh]"
.SH "DESCRIPTION"
.B udevinfo
.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
.SH "OPTIONS"
.TP
-.B -V
+.B
\
-V
Print the version information.
.TP
Print the version information.
.TP
-.B -r
-Print the
the
+.B
\
-r
+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
.TP
-.BI -q " query_type"
-Query the database for specified value of a created device node.
-.RB Needs " -p " or " -n " specified.
+.BI \-q " query_type"
+Query the database for specified value of a created device node or network
+interface.
+.RB Needs " \-p " or " \-n " specified.
.br
Valid types are:
.br
Valid types are:
-.BR name ", " symlink ", "
mode " ," owner " , " group " or " path
.
+.BR name ", " symlink ", "
path " or " all
.
.TP
.TP
-.BI -p " sysfs_path"
+.BI
\
-p " sysfs_path"
Specify the sysfs path of the device to query.
.TP
Specify the sysfs path of the device to query.
.TP
-.BI -n " name"
-Specify the name of the node for the device to query.
+.BI \-n " name"
+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
.TP
-.B -a
+.B
\
-a
Print all
Print all
-.BI SYSFS
_ filename
-attributes along the device chain. Useful for f
or f
inding
+.BI SYSFS
{ filename }
+attributes along the device chain. Useful for finding
unique attributes to compose a rule.
unique attributes to compose a rule.
-.RB Needs " -p " specified.
+.RB Needs "
\
-p " specified.
.TP
.TP
-.B -d
-Dump the whole database.
+.B \-s
+Print all sysfs devices with the major/minor number, the physical device and
+the bus value.
.TP
.TP
-.B -h
+.B
\
-h
Print help text.
.SH "FILES"
.nf
Print help text.
.SH "FILES"
.nf