make_fat
This commit is contained in:
parent
1dfebbc35a
commit
beb4695b29
3 changed files with 3 additions and 3 deletions
2
sh/fs.sh
2
sh/fs.sh
|
@ -36,7 +36,7 @@ fs_make_btrfs_swap() {
|
|||
fi
|
||||
}
|
||||
|
||||
fs_make_fat() {
|
||||
sh_fs_make_fat() {
|
||||
local device="${1}"
|
||||
local name="${2}"
|
||||
local volid="${3}"
|
||||
|
|
|
@ -44,7 +44,7 @@ rescue_wipe_0_init_hetzner_8_8() {
|
|||
echo "#${number}: ${device}3"
|
||||
# format esp
|
||||
sh_fs_wipe "${device}3" "1M"
|
||||
fs_make_fat "${device}3" "esp-${number}" "0000000${number}"
|
||||
sh_fs_make_fat "${device}3" "esp-${number}" "0000000${number}"
|
||||
# mount esp
|
||||
mkdir --parents "/media/esp/${number}"
|
||||
mount "${device}3" "/media/esp/${number}"
|
||||
|
|
|
@ -20,7 +20,7 @@ rescue_wipe_0_init_ovh_vle2() {
|
|||
# esp / wipe
|
||||
sh_fs_wipe "${device}3" "1M"
|
||||
# esp / format
|
||||
fs_make_fat "${device}3" "esp" "00000001"
|
||||
sh_fs_make_fat "${device}3" "esp" "00000001"
|
||||
# esp / mount
|
||||
mkdir --parents "/media/esp"
|
||||
mount "${device}3" "/media/esp"
|
||||
|
|
Loading…
Reference in a new issue