From dc0540c4ca57cb2e8f742b7fac95f0aee23ee93a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 20 Nov 2024 09:40:58 +0100 Subject: [PATCH] make_btrfs --- sh/fs.sh | 2 +- sh/rescue/hetzner.sh | 4 ++-- sh/rescue/ovh.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sh/fs.sh b/sh/fs.sh index fa0657f..95965e2 100644 --- a/sh/fs.sh +++ b/sh/fs.sh @@ -1,4 +1,4 @@ -fs_make_btrfs() { +sh_fs_make_btrfs() { local device="${1}" local label="${2}" local uuid="${3}" diff --git a/sh/rescue/hetzner.sh b/sh/rescue/hetzner.sh index b541b26..36dc2ea 100644 --- a/sh/rescue/hetzner.sh +++ b/sh/rescue/hetzner.sh @@ -67,7 +67,7 @@ rescue_wipe_0_init_hetzner_8_8() { sh_fs_raid_create \ "boot" "00000000:00000000:00000000:00000002" ${members} # - fs_make_btrfs "/dev/md/boot" "boot" \ + sh_fs_make_btrfs "/dev/md/boot" "boot" \ "00000000-0000-0000-0000-00000000000b" # mount boot mkdir --parents "/media/boot" @@ -114,7 +114,7 @@ rescue_wipe_2_make_hetzner_8_8() { # passphrase unset passphrase # format crypt - fs_make_btrfs "/dev/mapper/crypt" "crypt" \ + sh_fs_make_btrfs "/dev/mapper/crypt" "crypt" \ "00000000-0000-0000-0000-00000000000c" # mount crypt mkdir --parents "/media/crypt" diff --git a/sh/rescue/ovh.sh b/sh/rescue/ovh.sh index 3127564..4a54f64 100644 --- a/sh/rescue/ovh.sh +++ b/sh/rescue/ovh.sh @@ -27,7 +27,7 @@ rescue_wipe_0_init_ovh_vle2() { # boot / wipe sh_fs_wipe "${device}2" "1G" 1 # boot / format - fs_make_btrfs "${device}2" "boot" \ + sh_fs_make_btrfs "${device}2" "boot" \ "00000000-0000-0000-0000-00000000000b" # boot / mount mkdir --parents "/media/boot" @@ -59,7 +59,7 @@ rescue_wipe_2_make_ovh_vle2() { # passphrase unset passphrase # crypt / format - fs_make_btrfs "/dev/mapper/crypt" "crypt" \ + sh_fs_make_btrfs "/dev/mapper/crypt" "crypt" \ "00000000-0000-0000-0000-00000000000c" # crypt / mount mkdir --parents "/media/crypt"