V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 45s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 45s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -47,13 +47,21 @@ partitioning() {
|
||||
### Declare Arrays, HashMaps, and Variables.
|
||||
# shellcheck disable=SC2034
|
||||
declare -Ag HMP_PATH_PARTUUID # Used in: 3290() - [Mount Path:Partition UUID].
|
||||
# shellcheck disable=SC2034
|
||||
declare -Ag HMP_FSTAB_MOUNT_FTYPE # Used in: 4040() - [Mount Path:Filesystem type].
|
||||
# shellcheck disable=SC2034
|
||||
declare -Ag HMP_PATH_DEV_PART # Used in: 3220() - [Mount Path:DEV.PARTITION].
|
||||
# Used in: 3240() - [Mount Path:DEV.PARTITION].
|
||||
# Used in: 3280() - [Mount Path:DEV.PARTITION].
|
||||
# shellcheck disable=SC2034
|
||||
declare -ag ARY_CRYPT_MOUNT_PATHS=() # Used in: 3220() - Only entries [/paths] for encryption.
|
||||
# shellcheck disable=SC2034
|
||||
declare -ag ARY_FORMT_MOUNT_PATHS=() # Used in: 3240() - Only entries [/paths] for filesystem generation.
|
||||
# shellcheck disable=SC2034
|
||||
declare -ag ARY_FSTAB_MOUNT_PATHS=() # Used in: 4040() - Only entries [/paths] for '/etc/fstab' generation.
|
||||
declare -ag ARY_PATHS_SORTED=() # Used in: - All entries [/paths] in a mount ordering scheme.
|
||||
# shellcheck disable=SC2034
|
||||
declare -ag ARY_PATHS_SORTED=() # Used in: 3280() - All entries [/paths] in a mount ordering scheme.
|
||||
# Used in: 4040() - All entries [/paths] in a mount ordering scheme.
|
||||
|
||||
declare var_dev="" var_part="" \
|
||||
var_begin="" var_boot="" var_encryption="" var_end="" var_end_arg="" var_end_mib="" var_format="" var_fs="" \
|
||||
@@ -250,15 +258,18 @@ partitioning() {
|
||||
fi
|
||||
|
||||
### Gathering information for forthcoming modules 32n0().
|
||||
# shellcheck disable=SC2034
|
||||
HMP_PATH_DEV_PART["${var_mount_path}"]="${var_dev}.${var_part}"
|
||||
|
||||
### Gathering information for encryption module 3220().
|
||||
if [[ "${var_encryption}" == "true" ]]; then
|
||||
# shellcheck disable=SC2034
|
||||
ARY_CRYPT_MOUNT_PATHS+=("${var_mount_path}")
|
||||
fi
|
||||
|
||||
### Gathering information for filesystem module 3240().
|
||||
if [[ "${var_format}" == "true" ]]; then
|
||||
# shellcheck disable=SC2034
|
||||
ARY_FORMT_MOUNT_PATHS+=("${var_mount_path}")
|
||||
fi
|
||||
|
||||
@@ -267,6 +278,7 @@ partitioning() {
|
||||
|
||||
### Gathering information for '/etc/fstab'-generation in 4040().
|
||||
if [[ "${var_mount_true}" == "true" ]]; then
|
||||
# shellcheck disable=SC2034
|
||||
ARY_FSTAB_MOUNT_PATHS+=("${var_mount_path}")
|
||||
do_log "debug" "file_only" "3200() Stored in Array [ARY_FSTAB_MOUNT_PATHS] : '${var_mount_path}'."
|
||||
HMP_FSTAB_MOUNT_FTYPE["${var_mount_path}"]="${var_fs}"
|
||||
|
||||
Reference in New Issue
Block a user