]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document ReadWriteOnly property for mount units
authorMartin Hundebøll <martin@geanix.com>
Fri, 1 May 2020 08:27:06 +0000 (10:27 +0200)
committerMartin Hundebøll <martin@geanix.com>
Wed, 20 May 2020 12:26:04 +0000 (14:26 +0200)
docs/TRANSIENT-SETTINGS.md
man/systemd.mount.xml

index d5a80466769841be47e77e173875713c0bfdd927..d9b1c20c77f3e1c0f42b62da1bf32d2e9b9d6e9c 100644 (file)
@@ -332,6 +332,7 @@ All mount unit settings are available to transient units:
 ✓ SloppyOptions=
 ✓ LazyUnmount=
 ✓ ForceUnmount=
+✓ ReadWriteOnly=
 ```
 
 ## Automount Unit Settings
index d775d74053fdf14180a05453f3d8381ce8e6c7b8..d18773663fddaa5bb4ac886d25f4ec10a9643bd8 100644 (file)
         off.</para></listitem>
       </varlistentry>
 
+      <varlistentry>
+        <term><varname>ReadWriteOnly=</varname></term>
+
+        <listitem><para>Takes a boolean argument. If false, a mount
+        point that shall be mounted read-write but cannot be mounted
+        so is retried to be mounted read-only. If true the operation
+        will fail immediately after the read-write mount attempt did
+        not succeed. This corresponds with
+        <citerefentry project='man-pages'><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>'s
+        <parameter>-w</parameter> switch. Defaults to
+        off.</para></listitem>
+      </varlistentry>
+
       <varlistentry>
         <term><varname>ForceUnmount=</varname></term>