summaryrefslogtreecommitdiff
path: root/udev/udev.xml
diff options
context:
space:
mode:
authorScott James Remnant <scott@ubuntu.com>2009-02-11 17:38:56 +0000
committerScott James Remnant <scott@ubuntu.com>2009-02-11 17:38:56 +0000
commitbd284db142c1d3fb6e2a709678c8828c12c52466 (patch)
tree955c71b48e38c2bcc99a8a422b0b7c8548ea9501 /udev/udev.xml
parent10b2d011e70ddf9361c61f6147dc88f670d28abd (diff)
udevd: optionally watch device nodes with inotify
This allows you to re-process the rules if the content of the device has been changed, most useful for block subsystem to cause vol_id to be run again.
Diffstat (limited to 'udev/udev.xml')
-rw-r--r--udev/udev.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/udev/udev.xml b/udev/udev.xml
index 6a92154cc1..084c13bd98 100644
--- a/udev/udev.xml
+++ b/udev/udev.xml
@@ -457,6 +457,13 @@
with this option.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>watch</option></term>
+ <listitem>
+ <para>Watch the device node with inotify, when closed after being opened for
+ writing, a change uevent will be synthesised.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
</listitem>
</varlistentry>