From 844b2f21d3c598d10b10c4261efc8c7135c7f0d0 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 20 Nov 2024 09:38:22 +0100 Subject: [PATCH] btrfs_swap --- sh/fs.sh | 2 +- sh/rescue/hetzner.sh | 2 +- sh/rescue/ovh.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/fs.sh b/sh/fs.sh index 6cc85ff..fa0657f 100644 --- a/sh/fs.sh +++ b/sh/fs.sh @@ -18,7 +18,7 @@ fs_make_btrfs() { fi } -fs_make_btrfs_swap() { +sh_fs_make_btrfs_swap() { local path="${1}" local size="${2}" local uuid="${3}" diff --git a/sh/rescue/hetzner.sh b/sh/rescue/hetzner.sh index 9de0134..b541b26 100644 --- a/sh/rescue/hetzner.sh +++ b/sh/rescue/hetzner.sh @@ -122,6 +122,6 @@ rescue_wipe_2_make_hetzner_8_8() { --options "autodefrag,compress-force=zstd" \ "/dev/mapper/crypt" "/media/crypt" # make swap file - fs_make_btrfs_swap "/media/crypt/swap" "64g" \ + sh_fs_make_btrfs_swap "/media/crypt/swap" "64g" \ "00000000-0000-0000-0000-000000000005" } diff --git a/sh/rescue/ovh.sh b/sh/rescue/ovh.sh index 117ac5e..3127564 100644 --- a/sh/rescue/ovh.sh +++ b/sh/rescue/ovh.sh @@ -66,6 +66,6 @@ rescue_wipe_2_make_ovh_vle2() { mount --options "autodefrag,compress-force=zstd" \ "/dev/mapper/crypt" "/media/crypt" # crypt / swap - fs_make_btrfs_swap "/media/crypt/swap" "4g" \ + sh_fs_make_btrfs_swap "/media/crypt/swap" "4g" \ "00000000-0000-0000-0000-000000000005" }