V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 54s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 54s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -146,10 +146,12 @@ partitioning() {
|
||||
var_begin="2MiB"
|
||||
fi
|
||||
|
||||
### Assign the landing zone of the last partition and reserve 16 MiB for GPT and mdadm binary metadata.
|
||||
### Assign the landing zone of the last partition and reserve 64 MiB for GPT and mdadm binary metadata.
|
||||
### There is no mandatory upper limit, but for particularly critical systems (FDE, RAID-6 setups, dm-integrity, etc.),
|
||||
### more generous reserves between 32 and 64 MiB are recommended.
|
||||
if [[ "${var_end,,}" == "max" ]]; then
|
||||
var_dev_size=$(blockdev --getsize64 "/dev/${var_dev}")
|
||||
var_dev_end=$(( var_dev_size - 16 * 1024 * 1024 ))
|
||||
var_dev_end=$(( var_dev_size - 64 * 1024 * 1024 ))
|
||||
var_end_mib=$(( var_dev_end / 1024 / 1024 ))
|
||||
var_end_arg="${var_end_mib}MiB"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user