As usual, here is the corresponding man page update and
a small text correction.
udev \- Linux configurable dynamic device naming support
.SH SYNOPSIS
.BI udev " hotplug-subsystem"
+.br
+.B udev
+.RI "[-q " sysfs_path "] [-rVh]"
.SH "DESCRIPTION"
.B udev
creates or removes device node files usually located in the /dev directory.
On device removal,
.B udev
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"
All
.B udev
help:
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"
" -V print udev version\n"
" -h print this help text\n"
}
/**
- * udevdb_init: open database for reading
+ * udevdb_open_ro: open database for reading
*/
int udevdb_open_ro(void)
{