This commit is contained in:
Marc Beninca 2024-11-29 18:59:56 +01:00
parent 7719b6a562
commit e811d73563
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,4 +1,4 @@
sh_fs_make_btrfs() { rwx_fs_make_btrfs() {
local device="${1}" local device="${1}"
local label="${2}" local label="${2}"
local uuid="${3}" local uuid="${3}"
@ -18,7 +18,7 @@ sh_fs_make_btrfs() {
fi fi
} }
sh_fs_make_btrfs_swap() { rwx_fs_make_btrfs_swap() {
local path="${1}" local path="${1}"
local size="${2}" local size="${2}"
local uuid="${3}" local uuid="${3}"
@ -36,7 +36,7 @@ sh_fs_make_btrfs_swap() {
fi fi
} }
sh_fs_make_fat() { rwx_fs_make_fat() {
local device="${1}" local device="${1}"
local name="${2}" local name="${2}"
local volid="${3}" local volid="${3}"
@ -56,7 +56,7 @@ sh_fs_make_fat() {
fi fi
} }
sh_fs_raid_create() { rwx_fs_raid_create() {
if [ -n "${4}" ]; then if [ -n "${4}" ]; then
local name="${1}" local name="${1}"
local uuid="${2}" local uuid="${2}"
@ -72,7 +72,7 @@ sh_fs_raid_create() {
fi fi
} }
sh_fs_wipe() { rwx_fs_wipe() {
local device="${1}" local device="${1}"
local buffer="${2}" local buffer="${2}"
local count="${3}" local count="${3}"
@ -93,7 +93,7 @@ sh_fs_wipe() {
fi fi
} }
sh_fs_luks_format() { rwx_fs_luks_format() {
local passphrase="${1}" local passphrase="${1}"
local device="${2}" local device="${2}"
local label="${3}" local label="${3}"