]> git.tue.mpg.de Git - misma.git/commitdiff
Fix lvcreate command on debian 12. master
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 22 Jul 2024 19:28:15 +0000 (21:28 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 22 Jul 2024 19:28:15 +0000 (21:28 +0200)
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

misma.c

diff --git a/misma.c b/misma.c
index 08022103822afa3024be6c7e5a3516f4febcdff7..d11e0f94fd64d52d3a8222d3ff5db10c030d78ee 100644 (file)
--- 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",