summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-07-07 18:32:34 +0200
committerTom Gundersen <teg@jklm.no>2013-07-16 20:07:57 +0200
commit84b6ad702e64db534f67ce32d4dd2fec00a16784 (patch)
tree25e12d25a38a708f24354fae4fed2770a4362c81 /man
parent6cf2f1d94dc7749bcdff5385838bdc8eba9c3001 (diff)
udev: export tags of "dead" device nodes to /run/udev/static_node-tags/
Based on a patch by Kay Sievers. A tag is exported at boot as a symlinks to the device node in the folder /run/udev/static_node-tags/<tagname>/, if the device node exists. These tags are cleaned up by udevadm info --cleanup-db, but are otherwise never removed.
Diffstat (limited to 'man')
-rw-r--r--man/udev.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/man/udev.xml b/man/udev.xml
index 553bbfd056..ca8444c12c 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -521,9 +521,13 @@
<term><option>static_node=</option></term>
<listitem>
<para>Apply the permissions specified in this rule to the static device node with
- the specified name. Static device node creation can be requested by kernel modules.
- These nodes might not have a corresponding kernel device at the time systemd-udevd is
- started; they can trigger automatic kernel module loading.</para>
+ the specified name. Also, for every tag specified in this rule, create a symlink
+ in the directory
+ <filename>/run/udev/static_node-tags/<replaceable>tag</replaceable></filename>
+ pointing at the static device node with the specified name. Static device node
+ creation is performed by systemd-tmpfiles before systemd-udevd is started. The
+ static nodes might not have a corresponding kernel device; they are used to
+ trigger automatic kernel module loading when they are accessed.</para>
</listitem>
</varlistentry>
<varlistentry>