fatresize is libparted based, so does not support FAT12.
This commit is contained in:
parent
99c14ad074
commit
a43d5bbc5b
|
@ -16,8 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#if !defined(KPMCORE_FAT12_H)
|
#ifndef KPMCORE_FAT12_H
|
||||||
|
|
||||||
#define KPMCORE_FAT12_H
|
#define KPMCORE_FAT12_H
|
||||||
|
|
||||||
#include "util/libpartitionmanagerexport.h"
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
@ -62,10 +61,10 @@ public:
|
||||||
return m_Create;
|
return m_Create;
|
||||||
}
|
}
|
||||||
CommandSupportType supportGrow() const override {
|
CommandSupportType supportGrow() const override {
|
||||||
return m_Grow;
|
return cmdSupportNone;
|
||||||
}
|
}
|
||||||
CommandSupportType supportShrink() const override {
|
CommandSupportType supportShrink() const override {
|
||||||
return m_Shrink;
|
return cmdSupportNone;
|
||||||
}
|
}
|
||||||
CommandSupportType supportMove() const override {
|
CommandSupportType supportMove() const override {
|
||||||
return m_Move;
|
return m_Move;
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
#if !defined(KPMCORE_FAT16_H)
|
#ifndef KPMCORE_FAT16_H
|
||||||
|
|
||||||
#define KPMCORE_FAT16_H
|
#define KPMCORE_FAT16_H
|
||||||
|
|
||||||
#include "fs/fat12.h"
|
#include "fs/fat12.h"
|
||||||
|
@ -43,6 +42,13 @@ public:
|
||||||
bool create(Report& report, const QString& deviceNode) override;
|
bool create(Report& report, const QString& deviceNode) override;
|
||||||
bool resize(Report& report, const QString& deviceNode, qint64 length) const override;
|
bool resize(Report& report, const QString& deviceNode, qint64 length) const override;
|
||||||
|
|
||||||
|
CommandSupportType supportGrow() const override {
|
||||||
|
return m_Grow;
|
||||||
|
}
|
||||||
|
CommandSupportType supportShrink() const override {
|
||||||
|
return m_Shrink;
|
||||||
|
}
|
||||||
|
|
||||||
qint64 minCapacity() const override;
|
qint64 minCapacity() const override;
|
||||||
qint64 maxCapacity() const override;
|
qint64 maxCapacity() const override;
|
||||||
bool supportToolFound() const override;
|
bool supportToolFound() const override;
|
||||||
|
|
Loading…
Reference in New Issue