btrfs_swap
This commit is contained in:
parent
beb4695b29
commit
844b2f21d3
3 changed files with 3 additions and 3 deletions
2
sh/fs.sh
2
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}"
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue