Also reduce max capacity for ext2 and ext3 file systems.
This commit is contained in:
parent
3756ec45da
commit
35c7f9749e
|
@ -84,7 +84,7 @@ FileSystem::SupportTool ext2::supportToolName() const
|
|||
|
||||
qint64 ext2::maxCapacity() const
|
||||
{
|
||||
return 32 * Capacity::unitFactor(Capacity::Byte, Capacity::TiB);
|
||||
return 16 * Capacity::unitFactor(Capacity::Byte, Capacity::TiB) - Capacity::unitFactor(Capacity::Byte, Capacity::MiB);
|
||||
}
|
||||
|
||||
qint64 ext2::maxLabelLength() const
|
||||
|
|
|
@ -31,7 +31,7 @@ ext3::ext3(qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QStr
|
|||
|
||||
qint64 ext3::maxCapacity() const
|
||||
{
|
||||
return 32 * Capacity::unitFactor(Capacity::Byte, Capacity::TiB);
|
||||
return 16 * Capacity::unitFactor(Capacity::Byte, Capacity::TiB) - Capacity::unitFactor(Capacity::Byte, Capacity::MiB);
|
||||
}
|
||||
|
||||
bool ext3::create(Report& report, const QString& deviceNode) const
|
||||
|
|
Loading…
Reference in New Issue