V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 52s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 52s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -48,7 +48,7 @@ partitioning() {
|
||||
# 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].
|
||||
declare -Ag HMP_FSTAB_MOUNT_FTYPE # Used in: 4200() - [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].
|
||||
@@ -58,10 +58,10 @@ partitioning() {
|
||||
# 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_FSTAB_MOUNT_PATHS=() # Used in: 4200() - Only entries [/paths] for '/etc/fstab' generation.
|
||||
# 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.
|
||||
# Used in: 4200() - 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="" \
|
||||
@@ -276,7 +276,7 @@ partitioning() {
|
||||
### Gathering information for mounting module 3280().
|
||||
ary_paths_unsorted+=("${var_mount_path}")
|
||||
|
||||
### Gathering information for '/etc/fstab'-generation in 4040().
|
||||
### Gathering information for '/etc/fstab'-generation in 4200().
|
||||
if [[ "${var_mount_true}" == "true" ]]; then
|
||||
# shellcheck disable=SC2034
|
||||
ARY_FSTAB_MOUNT_PATHS+=("${var_mount_path}")
|
||||
@@ -285,7 +285,6 @@ partitioning() {
|
||||
do_log "debug" "file_only" "3200() [HMP_FSTAB_MOUNT_FTYPE]: '${var_mount_path}' -> '${HMP_FSTAB_MOUNT_FTYPE["${var_mount_path}"]}'."
|
||||
fi
|
||||
|
||||
|
||||
done
|
||||
|
||||
lsblk -o NAME,START,SIZE,PHY-SEC,LOG-SEC,ALIGNMENT "/dev/${var_dev}" >| "${DIR_LOG}/${var_dev}_alignment.log"
|
||||
|
||||
Reference in New Issue
Block a user