]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document db_persist udev rules OPTION
authorMichal Sekletar <msekleta@redhat.com>
Mon, 21 Jan 2019 22:05:46 +0000 (23:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 22 Jan 2019 07:20:09 +0000 (08:20 +0100)
Fixes #1551

man/udev.xml

index 08fedfc86cf120564f1948830fa175829d28a3fc..74aab8e024fb7d62d8c1fdbe94a99c98f0426b01 100644 (file)
                   <para>Disable the watching of a device node with inotify.</para>
                 </listitem>
               </varlistentry>
+              <varlistentry>
+                <term><option>db_persist</option></term>
+                <listitem>
+                  <para>Set the flag (sticky bit) on the udev database entry
+                  of the event device. Device properties are then kept in the
+                  database even when
+                  <command>udevadm info --cleanup-db</command> is called.
+                  This option can be useful in certain cases
+                  (e.g. Device Mapper devices) for persisting device state
+                  on the transition from initramfs.</para>
+                </listitem>
+              </varlistentry>
             </variablelist>
           </listitem>
         </varlistentry>