summaryrefslogtreecommitdiffstats
path: root/man/systemd.mount.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-30 12:55:00 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-30 20:46:30 +0100
commit58e0ac334920adf2d3934913987e3f77df4d0710 (patch)
tree5393931b6e17a6e5ec6eb3f3acbc1c57b8a5baa1 /man/systemd.mount.xml
parentdissect-image: return error if results are ambiguous (diff)
downloadsystemd-58e0ac334920adf2d3934913987e3f77df4d0710.tar.xz
systemd-58e0ac334920adf2d3934913987e3f77df4d0710.zip
man: add docs for systemd-growfs and systemd-makefs
Diffstat (limited to '')
-rw-r--r--man/systemd.mount.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index bfe52cda0f..663e7fa3ac 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -319,6 +319,44 @@
</varlistentry>
<varlistentry>
+ <term><option>x-systemd.makefs</option></term>
+
+ <listitem><para>The file system or swap structure will be intialized
+ on the device. If the device is not "empty", i.e. it contains any signature,
+ the operation will be skipped. It is hence expected that this option
+ remains set even after the device has been initalized.</para>
+
+ <para>Note that this option can only be used in
+ <filename>/etc/fstab</filename>, and will be ignored when part of the
+ <varname>Options=</varname> setting in a unit file.</para>
+
+ <para>See
+ <citerefentry><refentrytitle>systemd-makefs@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
+ </para>
+
+ <para><citerefentry project='man-pages'><refentrytitle>wipefs</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ may be used to remove any signatures from a block device to force
+ <option>x-systemd.makefs</option> to reinitialize the device.</para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term><option>x-systemd.growfs</option></term>
+
+ <listitem><para>The file system will be grown to occupy the full block
+ device. If the file system is already at maximum size, no action will
+ be performed. It is hence expected that this option remains set even after
+ the file system has been grown. Only certain file system types are supported,
+ see
+ <citerefentry><refentrytitle>systemd-makefs@.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ for details.</para>
+
+ <para>Note that this option can only be used in
+ <filename>/etc/fstab</filename>, and will be ignored when part of the
+ <varname>Options=</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