diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-19 14:56:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-10-20 11:35:15 +0200 |
commit | 4a4654e0241fbeabecb8587fd3520b6b39264b9c (patch) | |
tree | 2e4366a646eb12e254fc631e344a832987aa27c6 /man/systemd.nspawn.xml | |
parent | 231c7645ca761f0347c98fa48c68b3fde00fbc15 (diff) | |
download | systemd-4a4654e0241fbeabecb8587fd3520b6b39264b9c.tar.gz |
nspawn: add --suppress-sync=yes mode for turning sync() and friends into NOPs via seccomp
This is supposed to be used by package/image builders such as mkosi to
speed up building, since it allows us to suppress sync() inside a
container.
This does what Debian's eatmydata tool does, but for a container, and
via seccomp (instead of LD_PRELOAD).
Diffstat (limited to 'man/systemd.nspawn.xml')
-rw-r--r-- | man/systemd.nspawn.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd.nspawn.xml b/man/systemd.nspawn.xml index dc0e2f9fd2..bb9bf4b5d9 100644 --- a/man/systemd.nspawn.xml +++ b/man/systemd.nspawn.xml @@ -365,6 +365,16 @@ details.</para></listitem> </varlistentry> + <varlistentry> + <term><varname>SuppressSync=</varname></term> + + <listitem><para>Configures whether to suppress disk synchronization for the container payload. This + is equivalent to the <option>--suppress-sync=</option> command line switch, and takes the same + parameter. See + <citerefentry><refentrytitle>systemd-nspawn</refentrytitle><manvolnum>1</manvolnum></citerefentry> + for details.</para></listitem> + </varlistentry> + </variablelist> </refsect1> |