Enable moving, copying and backing up LUKS partitions.
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1325828
This commit is contained in:
parent
c93da7c1ae
commit
0497ec2db7
|
@ -31,10 +31,10 @@ namespace FS
|
|||
FileSystem::CommandSupportType luks::m_Create = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Grow = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Shrink = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Move = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Move = FileSystem::cmdSupportCore;
|
||||
FileSystem::CommandSupportType luks::m_Check = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Copy = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Backup = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_Copy = FileSystem::cmdSupportCore;
|
||||
FileSystem::CommandSupportType luks::m_Backup = FileSystem::cmdSupportCore;
|
||||
FileSystem::CommandSupportType luks::m_SetLabel = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_UpdateUUID = FileSystem::cmdSupportNone;
|
||||
FileSystem::CommandSupportType luks::m_GetUUID = FileSystem::cmdSupportNone;
|
||||
|
@ -48,6 +48,11 @@ namespace FS
|
|||
{
|
||||
}
|
||||
|
||||
FileSystem::SupportTool luks::supportToolName() const
|
||||
{
|
||||
return SupportTool("cryptsetup", KUrl("https://code.google.com/p/cryptsetup/"));
|
||||
}
|
||||
|
||||
qint64 luks::maxCapacity() const
|
||||
{
|
||||
return Capacity::unitFactor(Capacity::Byte, Capacity::EiB);
|
||||
|
|
|
@ -58,6 +58,7 @@ namespace FS
|
|||
virtual CommandSupportType supportGetUUID() const { return m_GetUUID; }
|
||||
|
||||
virtual qint64 maxCapacity() const;
|
||||
virtual SupportTool supportToolName() const;
|
||||
virtual bool supportToolFound() const { return true; }
|
||||
|
||||
static QString getCipherName (const QString& deviceNode);
|
||||
|
|
Loading…
Reference in New Issue