From ae32c57b22e7b2a4dd7aad507efd5fda8544ab04 Mon Sep 17 00:00:00 2001 From: wangrong Date: Thu, 30 Oct 2025 19:59:48 +0800 Subject: [PATCH 1/2] fix: Fix exfat formatting failure "mkfs.exfat -V" returns 1 in exfatprogs and 0 in the exfat-utils package. To ensure compatibility with both packages, we only check if "mkfs.exfat" exists. Log: Adapt to exfatprogs Bug: https://pms.uniontech.com/bug-view-338971.html --- service/diskoperation/filesystems/exfat.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/service/diskoperation/filesystems/exfat.cpp b/service/diskoperation/filesystems/exfat.cpp index f25cf4a..f015b16 100644 --- a/service/diskoperation/filesystems/exfat.cpp +++ b/service/diskoperation/filesystems/exfat.cpp @@ -25,11 +25,8 @@ FS ExFat::getFilesystemSupport() QString output, error; if (!Utils::findProgramInPath("mkfs.exfat").isEmpty()) { - qDebug() << "mkfs.exfat found, checking version for create support"; - if (Utils::executCmd("mkfs.exfat -V", output, error) == 0) { - qDebug() << "mkfs.exfat version check successful, enabling create support"; - fs.create = FS::EXTERNAL; - } + qDebug() << "mkfs.exfat found, enabling create support"; + fs.create = FS::EXTERNAL; } if (!Utils::findProgramInPath("tune.exfat").isEmpty()) { From 498f2f5258161970dc1bee4734fe6b0d33a1113f Mon Sep 17 00:00:00 2001 From: wangrong Date: Thu, 30 Oct 2025 20:03:26 +0800 Subject: [PATCH 2/2] chore: Update version to 6.0.21 As title. Log: Update version to 6.0.21 --- debian/changelog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 4d6841e..2671086 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +deepin-diskmanager (6.0.21) unstable; urgency=medium + + * fix: Fix non-reproducible builds + * refactor: Service safety rectification + * fix: Fix exfat formatting failure + + -- wangrong Thu, 30 Oct 2025 20:00:44 +0800 + deepin-diskmanager (6.0.20) unstable; urgency=medium * fix: Fix fail to verify bad sectors