fix: Remove whole check

This commit is contained in:
Kroese 2025-10-03 12:56:28 +02:00 committed by GitHub
parent b4de3ad772
commit 700de1caf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -509,9 +509,6 @@ addDevice () {
if [ -n "$physical" ]; then
if [[ "$physical" != "512" ]]; then
sectors=",logical_block_size=$logical,physical_block_size=$physical"
if [[ "$physical" != "4096" && "$physical" != "8192" && "$physical" != "32768" ]]; then
warn "Unknown physical sector size: $physical for $DISK_DEV"
fi
fi
else
warn "Failed to determine the sector size for $DISK_DEV"