You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a disk that does not have a partition table is mounted it shows up in /etc/mtab without a numeric suffix. The current code requires the suffix and misses the mount. I found that changing this
# make sure it is not mounted
if (( $(awk -v dev="^${HDD_LIST[i]}[0-9]+" \
to
# make sure it is not mounted
if (( $(awk -v dev="^${HDD_LIST[i]}[0-9]*" \
helped me.
The text was updated successfully, but these errors were encountered:
When a disk that does not have a partition table is mounted it shows up in /etc/mtab without a numeric suffix. The current code requires the suffix and misses the mount. I found that changing this
to
helped me.
The text was updated successfully, but these errors were encountered: