" reload_rules reloads the rules files\n"
" max_childs=<N> maximum number of childs\n"
" max_childs_running=<N> maximum number of childs running at the same time\n"
- " --help print this help text\n\n");
+ " help print this help text\n\n");
goto exit;
} else {
fprintf(stderr, "unrecognized command '%s'\n", arg);
.PP
\fBlog_priority=\fR\fB\fIvalue\fR\fR
.RS 4
-udevcontrol can dynamically set the log level of udevd. Valid values are the numerical syslog priorities or their textual representations:
+Set the internal log level of udevd. Valid values are the numerical syslog priorities or their textual representations:
\fBerr\fR,
\fBinfo\fR
and
.PP
\fBstop_exec_queue\fR
.RS 4
-udevcontrol stops the execution of events from udevd.
+Signal udevd to stop executing new events. Incoming events will be queued.
.RE
.PP
\fBstart_exec_queue\fR
.RS 4
-udevcontrol starts the execution of events from udevd.
+Signal udevd to enable the execution of events.
+.RE
+.PP
+\fBreload_rules\fR
+.RS 4
+Signal udevd to reload the rules from the config.
+.RE
+.PP
+\fBmax_childs\fR
+.RS 4
+Set the maximum number of events, udevd will handle at the same time.
+.RE
+.PP
+\fBmax_childs_running\fR
+.RS 4
+Set the maximum number of events, which are allowed to run at the same time.
+.RE
+.PP
+\fBhelp\fR
+.RS 4
+Print help text.
.RE
.SH "ENVIRONMENT"
.PP
<varlistentry>
<term><option>log_priority=<replaceable>value</replaceable></option></term>
<listitem>
- <para>udevcontrol can dynamically set the log level of udevd.
- Valid values are the numerical syslog priorities or their textual
- representations: <option>err</option>, <option>info</option>
- and <option>debug</option>.</para>
+ <para>Set the internal log level of udevd. Valid values are the numerical
+ syslog priorities or their textual representations: <option>err</option>,
+ <option>info</option> and <option>debug</option>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>stop_exec_queue</option></term>
<listitem>
- <para>udevcontrol stops the execution of events from udevd.</para>
+ <para>Signal udevd to stop executing new events. Incoming events
+ will be queued.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>start_exec_queue</option></term>
<listitem>
- <para>udevcontrol starts the execution of events from udevd.</para>
+ <para>Signal udevd to enable the execution of events.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>reload_rules</option></term>
+ <listitem>
+ <para>Signal udevd to reload the rules from the config.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>max_childs</option></term>
+ <listitem>
+ <para>Set the maximum number of events, udevd will handle at the
+ same time.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>max_childs_running</option></term>
+ <listitem>
+ <para>Set the maximum number of events, which are allowed to run at the
+ same time. </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>help</option></term>
+ <listitem>
+ <para>Print help text.</para>
</listitem>
</varlistentry>
</variablelist>
udevinfo \- query udev device information
.SH "SYNOPSIS"
.HP 9
-\fBudevinfo\fR [\fB\-\-query=\fR\fB\fIquery\-type\fR\fR] [\fB\-\-path=\fR\fB\fIdevpath\fR\fR] [\fB\-\-name=\fR\fB\fInode\fR\fR] [\fB\-\-root\fR] [\fB\-\-attribute\-walk\fR] [\fB\-\-export\-db\fR] [\fB\-\-help\fR]
+\fBudevinfo\fR [\fB\-\-query=\fR\fB\fIquery\-type\fR\fR] [\fB\-\-path=\fR\fB\fIdevpath\fR\fR] [\fB\-\-name=\fR\fB\fInode\fR\fR] [\fB\-\-root\fR] [\fB\-\-attribute\-walk\fR] [\fB\-\-export\-db\fR] [\fB\-\-version\fR] [\fB\-\-help\fR]
.SH "DESCRIPTION"
.PP
udevinfo queries the udev database for device information stored in the udev database. It can also query the properties of a device from its sysfs representation to help creating udev rules that match this device.
Export the content of the udev database.
.RE
.PP
+\fB\-\-version\fR
+.RS 4
+Print version.
+.RE
+.PP
\fB\-\-help\fR
.RS 4
Print help text.
{ "attribute-walk", 0, NULL, 'a' },
{ "export-db", 0, NULL, 'e' },
{ "root", 0, NULL, 'r' },
- { "version", 0, NULL, 'V' },
+ { "version", 0, NULL, 1 }, /* -V outputs braindead format */
{ "help", 0, NULL, 'h' },
{}
};
case 'e':
export_db(export_record);
goto exit;
+ case 1:
+ printf("%s\n", UDEV_VERSION);
+ goto exit;
case 'V':
printf("udevinfo, version %s\n", UDEV_VERSION);
goto exit;
<arg><option>--root</option></arg>
<arg><option>--attribute-walk</option></arg>
<arg><option>--export-db</option></arg>
+ <arg><option>--version</option></arg>
<arg><option>--help</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--version</option></term>
+ <listitem>
+ <para>Print version.</para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><option>--help</option></term>
<listitem>