[PATCH] mention user callable udev + options in man page
As usual, here is the corresponding man page update and a small text correction.
This commit is contained in:
parent
5bfabc59c0
commit
4070d2fea0
24
udev.8
24
udev.8
|
@ -3,6 +3,9 @@
|
||||||
udev \- Linux configurable dynamic device naming support
|
udev \- Linux configurable dynamic device naming support
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BI udev " hotplug-subsystem"
|
.BI udev " hotplug-subsystem"
|
||||||
|
.br
|
||||||
|
.B udev
|
||||||
|
.RI "[-q " sysfs_path "] [-rVh]"
|
||||||
.SH "DESCRIPTION"
|
.SH "DESCRIPTION"
|
||||||
.B udev
|
.B udev
|
||||||
creates or removes device node files usually located in the /dev directory.
|
creates or removes device node files usually located in the /dev directory.
|
||||||
|
@ -26,6 +29,27 @@ maintains a database for devices present on the system.
|
||||||
On device removal,
|
On device removal,
|
||||||
.B udev
|
.B udev
|
||||||
queries the internal database for the name of the device file to be deleted.
|
queries the internal database for the name of the device file to be deleted.
|
||||||
|
.SH "OPTIONS"
|
||||||
|
.B udev
|
||||||
|
normally is called by
|
||||||
|
.B hotplug
|
||||||
|
with the subsystem as argument and various environment variables set.
|
||||||
|
.br
|
||||||
|
It may also called with the following options:
|
||||||
|
.TP
|
||||||
|
.B -V
|
||||||
|
Print the version information.
|
||||||
|
.TP
|
||||||
|
.B -r
|
||||||
|
Print the the
|
||||||
|
.B udev
|
||||||
|
root directory.
|
||||||
|
.TP
|
||||||
|
.BI -q " sysfs_path"
|
||||||
|
Query with the sysfs path as argument for the name of the created device node.
|
||||||
|
.TP
|
||||||
|
.B -h
|
||||||
|
Print help text.
|
||||||
.SH "CONFIGURATION"
|
.SH "CONFIGURATION"
|
||||||
All
|
All
|
||||||
.B udev
|
.B udev
|
||||||
|
|
2
udev.c
2
udev.c
|
@ -130,7 +130,7 @@ static inline int udev_user(int argc, char **argv)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
printf("Usage: [-qrVh]\n"
|
printf("Usage: [-qrVh]\n"
|
||||||
" -q arg query database \n"
|
" -q <path> query database for the name of the created node\n"
|
||||||
" -r print udev root\n"
|
" -r print udev root\n"
|
||||||
" -V print udev version\n"
|
" -V print udev version\n"
|
||||||
" -h print this help text\n"
|
" -h print this help text\n"
|
||||||
|
|
Loading…
Reference in New Issue