udf: set MBR partition id to 0x07.

This commit is contained in:
Andrius Štikonas 2017-09-03 21:24:15 +01:00
parent 703270b64c
commit 6ad873223e
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,6 @@ FileSystem::SupportTool udf::supportToolName() const
return SupportTool(QStringLiteral("udftools"), QUrl(QStringLiteral("https://github.com/pali/udftools"))); return SupportTool(QStringLiteral("udftools"), QUrl(QStringLiteral("https://github.com/pali/udftools")));
} }
qint64 udf::minCapacity() const qint64 udf::minCapacity() const
{ {
return MIN_UDF_BLOCKS * sectorSize(); return MIN_UDF_BLOCKS * sectorSize();

View File

@ -116,7 +116,8 @@ static const struct {
{ FileSystem::Jfs, QStringLiteral("jfs") }, { FileSystem::Jfs, QStringLiteral("jfs") },
{ FileSystem::Hfs, QStringLiteral("hfs") }, { FileSystem::Hfs, QStringLiteral("hfs") },
{ FileSystem::HfsPlus, QStringLiteral("hfs+") }, { FileSystem::HfsPlus, QStringLiteral("hfs+") },
{ FileSystem::Ufs, QStringLiteral("ufs") } { FileSystem::Ufs, QStringLiteral("ufs") },
{ FileSystem::Udf, QStringLiteral("ntfs") }
}; };
static PedFileSystemType* getPedFileSystemType(FileSystem::Type t) static PedFileSystemType* getPedFileSystemType(FileSystem::Type t)