Check if the filesystem to be resized actually supports grow/shrink.
This commit is contained in:
parent
a58857baa6
commit
9c10b49802
@ -296,6 +296,10 @@ PartitionViewStep::canBeResized( const QString& partitionPath )
|
|||||||
if ( candidate )
|
if ( candidate )
|
||||||
{
|
{
|
||||||
cDebug() << "found Partition* for" << partitionWithOs;
|
cDebug() << "found Partition* for" << partitionWithOs;
|
||||||
|
if ( !candidate->fileSystem().supportGrow() ||
|
||||||
|
!candidate->fileSystem().supportShrink() )
|
||||||
|
return false;
|
||||||
|
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
double requiredStorageGB = Calamares::JobQueue::instance()
|
double requiredStorageGB = Calamares::JobQueue::instance()
|
||||||
->globalStorage()
|
->globalStorage()
|
||||||
|
Loading…
Reference in New Issue
Block a user