]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/copy.c
machined: support non-btrfs file systems with "machinectl clone"
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Apr 2016 18:06:20 +0000 (20:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 May 2016 09:15:30 +0000 (11:15 +0200)
commit9a50e3caab82f8406ecfac6048ac8e2ce98b0ab8
tree5e7f5458a2911a7cb13a7e708fa0384b10e27cec
parenta67d68b84801dccbbc03010c679138bb9e4f91ac
machined: support non-btrfs file systems with "machinectl clone"

Fall back to a normal copy operation when the backing file system isn't btrfs,
and hence doesn't support cheap snapshotting. Of course, this will be slow, but
given that the execution is asynchronous now, this should be OK.

Fixes: #1308
src/basic/copy.c
src/basic/copy.h
src/shared/machine-image.c