From 06c17c39a8345deef1ecff4dd5ef262f968c9be2 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jun 2014 00:44:30 +0200 Subject: nspawn: add new --tmpfs= option to mount a tmpfs on specific directories, such as /var --- man/systemd-nspawn.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'man/systemd-nspawn.xml') 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 @@ -503,6 +503,30 @@ mounts. + + + + 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 + /var as tmpfs, to + allow state-less systems, in + particular when combined with + . + + -- cgit v1.2.3-54-g00ecf