From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [udev] mention user callable udev + options in man page
Date: Tue, 30 Dec 2003 23:42:24 +0000 [thread overview]
Message-ID: <20031230234224.GA23873@vrfy.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
As usual, here is the corresponding man page update and
a small text correction.
Hmm, the TODO is getting smaller.
I may take the "- lots of other stuff" line next :)
thanks,
Kay
[-- Attachment #2: 01-man-page_user-options.diff --]
[-- Type: text/plain, Size: 1630 bytes --]
diff -Nru a/udev.8 b/udev.8
--- a/udev.8 Wed Dec 31 00:33:12 2003
+++ b/udev.8 Wed Dec 31 00:33:12 2003
@@ -3,6 +3,9 @@
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.
@@ -26,6 +29,27 @@
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
diff -Nru a/udev.c b/udev.c
--- a/udev.c Wed Dec 31 00:33:12 2003
+++ b/udev.c Wed Dec 31 00:33:12 2003
@@ -130,7 +130,7 @@
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"
diff -Nru a/udevdb.c b/udevdb.c
--- a/udevdb.c Wed Dec 31 00:33:12 2003
+++ b/udevdb.c Wed Dec 31 00:33:12 2003
@@ -130,7 +130,7 @@
}
/**
- * udevdb_init: open database for reading
+ * udevdb_open_ro: open database for reading
*/
int udevdb_open_ro(void)
{
next reply other threads:[~2003-12-30 23:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-30 23:42 Kay Sievers [this message]
2003-12-31 0:36 ` [udev] mention user callable udev + options in man page Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031230234224.GA23873@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.