chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:58 +0000 (10:12 +0200)
commitad81cbe3f0c0c9f1e0d3c71210778e4005fe0259
tree5d947ace41d2f2f90bd98134d8069470d916b9bf
parent2ed028df72f5995acfbeca89db3f056d0e83cac1
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