summaryrefslogtreecommitdiff
path: root/man/machinectl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-11-21 20:02:43 +0100
committerLennart Poettering <lennart@poettering.net>2016-11-22 13:35:09 +0100
commit17cbb288faa4a5c900d54a5de53f804116d897df (patch)
treedd84aa1ac01b5b0b67a04cb910e7e103062b0d27 /man/machinectl.xml
parentc67b008273478dd54a57c0950a0c69b2b544c85b (diff)
downloadsystemd-17cbb288faa4a5c900d54a5de53f804116d897df.tar.gz
nspawn: add fallback top normal copy/reflink when we cannot btrfs snapshot
Given that other file systems (notably: xfs) support reflinks these days, let's extend the file system snapshotting logic to fall back to plan copies or reflinks when full btrfs subvolume snapshots are not available. This essentially makes "systemd-nspawn --ephemeral" and "systemd-nspawn --template=" available on non-btrfs subvolumes. Of course, both operations will still be slower on non-btrfs than on btrfs (simply because reflinking each file individually in a directory tree is still slower than doing this in one step for a whole subvolume), but it's probably good enough for many cases, and we should provide the users with the tools, they have to figure out what's good for them. Note that "machinectl clone" already had a fallback like this in place, this patch generalizes this, and adds similar support to our other cases.
Diffstat (limited to 'man/machinectl.xml')
-rw-r--r--man/machinectl.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/machinectl.xml b/man/machinectl.xml
index 5a6ec294d2..81192417d8 100644
--- a/man/machinectl.xml
+++ b/man/machinectl.xml
@@ -599,8 +599,8 @@
<listitem><para>Clones a container or VM image. The arguments specify the name of the image to clone and the
name of the newly cloned image. Note that plain directory container images are cloned into btrfs subvolume
images with this command, if the underlying file system supports this. Note that cloning a container or VM
- image is optimized for btrfs file systems, and might not be efficient on others, due to file system
- limitations.</para>
+ image is optimized for file systems that support copy-on-write, and might not be efficient on others, due to
+ file system limitations.</para>
<para>Note that this command leaves host name, machine ID and
all other settings that could identify the instance
@@ -910,7 +910,7 @@
<filename>/var/lib/machines/</filename> to make them available for
control with <command>machinectl</command>.</para>
- <para>Note that many image operations are only supported,
+ <para>Note that some image operations are only supported,
efficient or atomic on btrfs file systems. Due to this, if the
<command>pull-tar</command>, <command>pull-raw</command>,
<command>import-tar</command>, <command>import-raw</command> and