feat: Support 8k sector sizes (#1040)

This commit is contained in:
xrh0905 2025-10-03 18:57:08 +08:00 committed by GitHub
parent 7acd1f6cdb
commit b694d6faf8
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" != "32768" ]]; then
warn "Unknown physical sector size: $physical for $DISK_DEV"
fi
fi
else
warn "Failed to determine the sector size for $DISK_DEV"