linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] man: Fix udevadm test --action default value.
@ 2011-12-20 22:38 Ville Skyttä
  2011-12-20 22:48 ` Kay Sievers
  2011-12-20 23:06 ` Ville Skyttä
  0 siblings, 2 replies; 3+ messages in thread
From: Ville Skyttä @ 2011-12-20 22:38 UTC (permalink / raw)
  To: linux-hotplug

---
 udev/udevadm.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/udev/udevadm.xml b/udev/udevadm.xml
index 09c22c4..a1028ee 100644
--- a/udev/udevadm.xml
+++ b/udev/udevadm.xml
@@ -199,7 +199,7 @@
         <varlistentry>
           <term><option>--action=<replaceable>action</replaceable></option></term>
           <listitem>
-            <para>Type of event to be triggered. The default value is <command>change</command>.</para>
+            <para>Type of event to be triggered. The default value is <command>add</command>.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
-- 
1.7.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] man: Fix udevadm test --action default value.
  2011-12-20 22:38 [PATCH 2/2] man: Fix udevadm test --action default value Ville Skyttä
@ 2011-12-20 22:48 ` Kay Sievers
  2011-12-20 23:06 ` Ville Skyttä
  1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2011-12-20 22:48 UTC (permalink / raw)
  To: linux-hotplug

On Tue, Dec 20, 2011 at 23:38, Ville Skyttä <ville.skytta@iki.fi> wrote:
> ---
>  udev/udevadm.xml |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/udev/udevadm.xml b/udev/udevadm.xml
> index 09c22c4..a1028ee 100644
> --- a/udev/udevadm.xml
> +++ b/udev/udevadm.xml
> @@ -199,7 +199,7 @@
>         <varlistentry>
>           <term><option>--action=<replaceable>action</replaceable></option></term>
>           <listitem>
> -            <para>Type of event to be triggered. The default value is <command>change</command>.</para>
> +            <para>Type of event to be triggered. The default value is <command>add</command>.</para>

?

# strace -e write udevadm trigger --subsystem-match=mem --sysname-match=null
write(3, "change", 6)                   = 6

Kay

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] man: Fix udevadm test --action default value.
  2011-12-20 22:38 [PATCH 2/2] man: Fix udevadm test --action default value Ville Skyttä
  2011-12-20 22:48 ` Kay Sievers
@ 2011-12-20 23:06 ` Ville Skyttä
  1 sibling, 0 replies; 3+ messages in thread
From: Ville Skyttä @ 2011-12-20 23:06 UTC (permalink / raw)
  To: linux-hotplug

On 2011-12-21 00:48, Kay Sievers wrote:
> On Tue, Dec 20, 2011 at 23:38, Ville Skytt√§ <ville.skytta@iki.fi> wrote:
>> ---
>>  udev/udevadm.xml |    2 +-
>>  1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/udev/udevadm.xml b/udev/udevadm.xml
>> index 09c22c4..a1028ee 100644
>> --- a/udev/udevadm.xml
>> +++ b/udev/udevadm.xml
>> @@ -199,7 +199,7 @@
>>         <varlistentry>
>>           <term><option>--action=<replaceable>action</replaceable></option></term>
>>           <listitem>
>> -            <para>Type of event to be triggered. The default value is <command>change</command>.</para>
>> +            <para>Type of event to be triggered. The default value is <command>add</command>.</para>
> 
> ?
> 
> # strace -e write udevadm trigger --subsystem-match=mem --sysname-match=null
> write(3, "change", 6)                   = 6

Oops, I intended to fix the default value of "test" (as the subject
says), not "trigger", but ended up modifying/breaking the latter as the
former's default is not documented and I hit the wrong entry in the xml.
 Thanks for catching it.
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-20 23:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 22:38 [PATCH 2/2] man: Fix udevadm test --action default value Ville Skyttä
2011-12-20 22:48 ` Kay Sievers
2011-12-20 23:06 ` Ville Skyttä

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).