Unverified Commit b694d6fa authored by xrh0905's avatar xrh0905 Committed by GitHub
Browse files

feat: Support 8k sector sizes (#1040)

parent 7acd1f6c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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"