By default we never align to cylinder boundaries because it's not 1987.

This commit is contained in:
Teo Mrnjavac 2015-07-14 18:40:12 +02:00
parent 626f560e52
commit 0a4ac3065b
1 changed files with 2 additions and 3 deletions

View File

@ -338,9 +338,8 @@ void PartitionTable::updateUnallocated(const Device& d)
qint64 PartitionTable::defaultFirstUsable(const Device& d, TableType t) qint64 PartitionTable::defaultFirstUsable(const Device& d, TableType t)
{ {
if (t == msdos && Config::useCylinderAlignment()) Q_UNUSED(t)
return d.sectorsPerTrack(); Q_UNUSED(d)
return Config::sectorAlignment(); return Config::sectorAlignment();
} }