summaryrefslogtreecommitdiff
path: root/man/systemd.mount.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-05-20 15:48:04 +0200
committerGitHub <noreply@github.com>2020-05-20 15:48:04 +0200
commitbb94ded69332965cb0f32207194372ca66b71479 (patch)
tree14d32f9742eda3cffac7af6caef8418adecb6162 /man/systemd.mount.xml
parent579ca0a2b21ac8d8deab70958d79b74b93ff3361 (diff)
parentad765605254d822df8b0557835444197ba12790d (diff)
downloadsystemd-bb94ded69332965cb0f32207194372ca66b71479.tar.gz
Merge pull request #15661 from hundeboll/mount-read-write-only
Mount read write only
Diffstat (limited to 'man/systemd.mount.xml')
-rw-r--r--man/systemd.mount.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index 4200a9ed7e..07feccb54a 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -360,6 +360,17 @@
</varlistentry>
<varlistentry>
+ <term><option>x-systemd.rw-only</option></term>
+
+ <listitem><para>If a mount operation fails to mount the file system
+ read-write, it normally tries mounting the file system read-only instead.
+ This option disables that behaviour, and causes the mount to fail
+ immediately instead. This option is translated into the
+ <varname>ReadWriteOnly=</varname> setting in a unit file.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>_netdev</option></term>
<listitem><para>Normally the file system type is used to determine if a
@@ -498,6 +509,19 @@
</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>
<listitem><para>Takes a boolean argument. If true, force an