From 6ad873223ebbdeee4c1e1e715478994ba16435a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 3 Sep 2017 21:24:15 +0100 Subject: [PATCH] udf: set MBR partition id to 0x07. --- src/fs/udf.cpp | 1 - src/plugins/libparted/libpartedpartitiontable.cpp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fs/udf.cpp b/src/fs/udf.cpp index 0400091..dbe1ea6 100644 --- a/src/fs/udf.cpp +++ b/src/fs/udf.cpp @@ -59,7 +59,6 @@ FileSystem::SupportTool udf::supportToolName() const return SupportTool(QStringLiteral("udftools"), QUrl(QStringLiteral("https://github.com/pali/udftools"))); } - qint64 udf::minCapacity() const { return MIN_UDF_BLOCKS * sectorSize(); diff --git a/src/plugins/libparted/libpartedpartitiontable.cpp b/src/plugins/libparted/libpartedpartitiontable.cpp index d98ab34..a71e426 100644 --- a/src/plugins/libparted/libpartedpartitiontable.cpp +++ b/src/plugins/libparted/libpartedpartitiontable.cpp @@ -116,7 +116,8 @@ static const struct { { FileSystem::Jfs, QStringLiteral("jfs") }, { FileSystem::Hfs, QStringLiteral("hfs") }, { FileSystem::HfsPlus, QStringLiteral("hfs+") }, - { FileSystem::Ufs, QStringLiteral("ufs") } + { FileSystem::Ufs, QStringLiteral("ufs") }, + { FileSystem::Udf, QStringLiteral("ntfs") } }; static PedFileSystemType* getPedFileSystemType(FileSystem::Type t)