add minimum capacity for btrfs
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1132764
This commit is contained in:
parent
e66fa24e52
commit
07d3bcb15c
|
@ -89,6 +89,11 @@ namespace FS
|
|||
return SupportTool("btrfs-tools", KUrl("http://btrfs.wiki.kernel.org/"));
|
||||
}
|
||||
|
||||
qint64 btrfs::minCapacity() const
|
||||
{
|
||||
return 256 * Capacity::unitFactor(Capacity::Byte, Capacity::MiB);
|
||||
}
|
||||
|
||||
qint64 btrfs::maxCapacity() const
|
||||
{
|
||||
return Capacity::unitFactor(Capacity::Byte, Capacity::EiB);
|
||||
|
|
|
@ -64,6 +64,7 @@ namespace FS
|
|||
virtual CommandSupportType supportUpdateUUID() const { return m_UpdateUUID; }
|
||||
virtual CommandSupportType supportGetUUID() const { return m_GetUUID; }
|
||||
|
||||
virtual qint64 minCapacity() const;
|
||||
virtual qint64 maxCapacity() const;
|
||||
virtual SupportTool supportToolName() const;
|
||||
virtual bool supportToolFound() const;
|
||||
|
|
Loading…
Reference in New Issue