From 6ab84702212caddeb85cb9a3ba47048b2e4ab017 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Tue, 29 Nov 2022 07:06:51 +0200 Subject: [PATCH] Fix xfs_grow arguments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lauri Võsandi --- declarative.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/declarative.py b/declarative.py index d39774f..f944cc2 100644 --- a/declarative.py +++ b/declarative.py @@ -109,6 +109,6 @@ def be_fs_expanded(dev, path): elif fs == "btrfs": run(f"btrfs filesystem resize max {path}") elif fs == "xfs": - run(f"xfs_growfs -d {dev}") + run(f"xfs_growfs -d {path}") else: raise Exception(f"Unsupported fsType: {fs}")