diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-06-02 15:15:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-06-08 16:53:37 +0200 |
commit | 95ac523030c62448dc54b3804347c32a34c0a2be (patch) | |
tree | cbc8eb2c54a23c539ec34ace1205a5c96f497033 /man/systemd-udevd.service.xml | |
parent | a07e962549bc900365627482834896ea98996ff4 (diff) | |
download | systemd-95ac523030c62448dc54b3804347c32a34c0a2be.tar.gz |
udev: optionally mark all block devices read-only as they pop up
Diffstat (limited to 'man/systemd-udevd.service.xml')
-rw-r--r-- | man/systemd-udevd.service.xml | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/man/systemd-udevd.service.xml b/man/systemd-udevd.service.xml index 55edc17353..302f44aa87 100644 --- a/man/systemd-udevd.service.xml +++ b/man/systemd-udevd.service.xml @@ -140,8 +140,8 @@ <refsect1><title>Kernel command line</title> <variablelist class='kernel-commandline-options'> - <para>Parameters starting with "rd." will be read when - <command>systemd-udevd</command> is used in an initrd.</para> + <para>Parameters prefixed with "rd." will be read when <command>systemd-udevd</command> is used in an + initrd, those without will be processed both in the initrd and on the host.</para> <varlistentry> <term><varname>udev.log_priority=</varname></term> <term><varname>rd.udev.log_priority=</varname></term> @@ -185,6 +185,22 @@ </listitem> </varlistentry> <varlistentry> + <term><varname>udev.blockdev_read_only</varname></term> + <term><varname>rd.udev.blockdev_read_only</varname></term> + <listitem> + <para>If specified, mark all physical block devices read-only as they appear. Synthetic block + devices (such as loopback block devices or device mapper devices) are left as they are. This is + useful to guarantee that the contents of physical block devices remains unmodified during runtime, + for example to implement fully stateless systems, for testing or for recovery situations where + corrupted file systems shall not be corrupted further through accidental modification.</para> + + <para>A block device may be marked writable again by issuing the <command>blockdev + --setrw</command> command, see <citerefentry + project='man-pages'><refentrytitle>blockdev</refentrytitle><manvolnum>8</manvolnum></citerefentry> + for details.</para> + </listitem> + </varlistentry> + <varlistentry> <term><varname>net.ifnames=</varname></term> <listitem> <para>Network interfaces are renamed to give them predictable names |