From: Andre Noll Date: Mon, 22 Jul 2024 19:28:15 +0000 (+0200) Subject: Fix lvcreate command on debian 12. X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=HEAD;p=misma.git Fix lvcreate command on debian 12. The lvm2 version which ships on debian 12 [1] complains with Command does not accept option: --snapshot. on the attempt to create a snapshot. This commit should fix that. [1] LVM version: 2.03.16(2) (2022-05-18) Library version: 1.02.185 (2022-05-18) Driver version: 4.48.0 --- diff --git a/misma.c b/misma.c index 0802210..d11e0f9 100644 --- a/misma.c +++ b/misma.c @@ -873,7 +873,6 @@ static bool create_snapshot(struct origin *o, bool dry_run) "thin", "--quiet", "--quiet", - "-s", "--autobackup", "n", "-n",