summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-11 00:44:30 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-11 00:44:30 +0200
commit06c17c39a8345deef1ecff4dd5ef262f968c9be2 (patch)
tree015afdc85460cef185be3a9d72b642ee0d4cb08c /man
parent9339db7187c61eb7ae7e6ffcddb2b2f2686954eb (diff)
nspawn: add new --tmpfs= option to mount a tmpfs on specific directories, such as /var
Diffstat (limited to 'man')
-rw-r--r--man/systemd-nspawn.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index ccd3436d42..d6687038af 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -504,6 +504,30 @@
</varlistentry>
<varlistentry>
+ <term><option>--tmpfs=</option></term>
+
+ <listitem><para>Mount a tmpfs file
+ system into the container. Takes a
+ single absolute path argument that
+ specifies where to mount the tmpfs
+ instance to (in which case the
+ directory access mode will be chosen
+ as 0755, owned by root/root), or
+ optionally a colon-separated pair of
+ path and mount option string, that is
+ used for mounting (in which case the
+ kernel default for access mode and
+ owner will be chosen, unless otherwise
+ specified). This option is
+ particularly useful for mounting
+ directories such as
+ <filename>/var</filename> as tmpfs, to
+ allow state-less systems, in
+ particular when combined with
+ <option>--read-only</option>.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--setenv=</option></term>
<listitem><para>Specifies an