This commit is contained in:
rootzoll
2025-01-05 17:06:38 +01:00
parent 127027ff35
commit a7fe1d7287

View File

@@ -110,6 +110,7 @@ if [ "$1" = "layout" ]; then
size=$(echo "$line" | awk '{print $2}') size=$(echo "$line" | awk '{print $2}')
# mount partition if not already mounted # mount partition if not already mounted
needsUnmount=0
mountPath=$(findmnt -n -o TARGET "/dev/${name}" 2>/dev/null) mountPath=$(findmnt -n -o TARGET "/dev/${name}" 2>/dev/null)
if [ -z "${mountPath}" ]; then if [ -z "${mountPath}" ]; then
# create temp mount point if not exists # create temp mount point if not exists
@@ -285,15 +286,15 @@ if [ "$1" = "layout" ]; then
# output the result # output the result
echo "storageDevice='${storageDevice}'" echo "storageDevice='${storageDevice}'"
echo "storageSizeGB='${storageSizeGB}'" echo "storageSizeGB='${storageSizeGB}'"
echo "storagePartition='${storageRecoverPartition}'" echo "storagePartition='${storagePartition}'"
echo "storageMountedPath='${storageMountedPath}'" echo "storageMountedPath='${storageMountedPath}'"
echo "storageBlockchainGB='${storageBlockchainGB}'" echo "storageBlockchainGB='${storageBlockchainGB}'"
echo "systemDevice='${systemDevice}'" echo "systemDevice='${systemDevice}'"
echo "systemSizeGB='${systemSizeGB}'" echo "systemSizeGB='${systemSizeGB}'"
echo "systemPartition='${systemOldPartition}'" echo "systemPartition='${systemPartition}'"
echo "dataDevice='${dataDevice}'" echo "dataDevice='${dataDevice}'"
echo "dataSizeGB='${dataSizeGB}'" echo "dataSizeGB='${dataSizeGB}'"
echo "dataPartition='${dataRecoverPartition}'" echo "dataPartition='${dataPartition}'"
echo "dataMountedPath='${dataMountedPath}'" echo "dataMountedPath='${dataMountedPath}'"
echo "combinedDataStorage='${combinedDataStorage}'" echo "combinedDataStorage='${combinedDataStorage}'"
echo "bootFromStorage='${bootFromStorage}'" echo "bootFromStorage='${bootFromStorage}'"