Logo Search packages:      
Sourcecode: partitionmanager version File versions  Download package

FS::ext4 Class Reference

#include <ext4.h>

Inheritance diagram for FS::ext4:

FS::ext2 FileSystem

List of all members.


Detailed Description

An ext4 file system.

Basically the same as ext2.

Author:
vl@fidra.de

Definition at line 40 of file ext4.h.


Public Types

enum  SupportType { SupportNone = 0, SupportInternal = 1, SupportLibParted = 2, SupportExternal = 4 }
enum  Type {
  Unknown = 0, Extended, Ext2, Ext3,
  Ext4, LinuxSwap, Fat16, Fat32,
  Ntfs, ReiserFS, Reiser4, Xfs,
  Jfs, Hfs, HfsPlus, Ufs,
  Unformatted, __lastType
}

Public Member Functions

virtual bool backup (Report &report, const Device &sourceDevice, const QString &deviceNode, const QString &filename) const
virtual bool canMount (const QString &) const
virtual bool canUnmount (const QString &) const
virtual bool check (Report &report, const QString &deviceNode) const
virtual bool copy (Report &report, const QString &targetDeviceNode, const QString &sourceDeviceNode) const
virtual bool create (Report &report, const QString &deviceNode) const
 ext4 (qint64 firstsector, qint64 lastsector, qint64 sectorsused, const QString &label)
qint64 firstSector () const
const QString & label () const
qint64 lastSector () const
qint64 length () const
virtual qint64 maxCapacity () const
virtual qint64 minCapacity () const
virtual bool mount (const QString &mountPoint)
virtual QString mountTitle () const
void move (qint64 newStartSector)
virtual QString name () const
virtual QString readLabel (const QString &deviceNode) const
virtual qint64 readUsedCapacity (const QString &deviceNode) const
virtual QString readUUID (const QString &deviceNode) const
virtual bool resize (Report &report, const QString &deviceNode, qint64 length) const
qint64 sectorsUsed () const
void setFirstSector (qint64 s)
void setLabel (const QString &s)
void setLastSector (qint64 s)
void setSectorsUsed (qint64 s)
void setUUID (const QString &s)
virtual SupportType supportBackup () const
virtual SupportType supportCheck () const
virtual SupportType supportCopy () const
virtual SupportType supportCreate () const
virtual SupportType supportGetLabel () const
virtual SupportType supportGetUsed () const
virtual SupportType supportGetUUID () const
virtual SupportType supportGrow () const
virtual SupportType supportMove () const
virtual SupportType supportSetLabel () const
virtual SupportType supportShrink () const
virtual SupportType supportUpdateUUID () const
virtual FileSystem::Type type () const
virtual bool unmount (const QString &mountPoint)
virtual QString unmountTitle () const
virtual bool updateBootSector (Report &report, const QString &deviceNode) const
virtual bool updateUUID (Report &report, const QString &deviceNode) const
const QString & uuid () const
virtual bool writeLabel (Report &report, const QString &deviceNode, const QString &newLabel)

Static Public Member Functions

static FileSystem::Type defaultFileSystem ()
static void init ()
static QString nameForType (FileSystem::Type t)
static FileSystem::Type typeForName (const QString &s)
static QList< FileSystem::Typetypes ()

Static Protected Member Functions

static bool findExternal (const QString &cmdName, const QStringList &args=QStringList(), int exptectedCode=1)

Protected Attributes

qint64 m_FirstSector
QString m_Label
qint64 m_LastSector
qint64 m_SectorsUsed
FileSystem::Type m_Type
QString m_UUID

Static Protected Attributes

static SupportType m_Backup = FileSystem::SupportNone
static SupportType m_Check = FileSystem::SupportNone
static SupportType m_Copy = FileSystem::SupportNone
static SupportType m_Create = FileSystem::SupportNone
static SupportType m_GetLabel = FileSystem::SupportNone
static SupportType m_GetUsed = FileSystem::SupportNone
static SupportType m_GetUUID = FileSystem::SupportNone
static SupportType m_Grow = FileSystem::SupportNone
static SupportType m_Move = FileSystem::SupportNone
static SupportType m_SetLabel = FileSystem::SupportNone
static SupportType m_Shrink = FileSystem::SupportNone
static SupportType m_UpdateUUID = FileSystem::SupportNone

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index