Package: udisks2 / 2.9.2-2+deb11u1

Use-the-mkfs-command-to-format-exfat-partitions.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Sebastien Bacher <seb128@ubuntu.com>
Date: Wed, 21 Apr 2021 13:48:36 +0200
Subject: Use the mkfs command to format exfat partitions

The currently used mkexfatfs is only available in exfat-utils and not in
the new exfatprogs.

https://github.com/storaged-project/udisks/issues/882
(cherry picked from commit 1c13dc64213554f979b24788b40398fee7a5039f)
---
 src/udiskslinuxfsinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/udiskslinuxfsinfo.c b/src/udiskslinuxfsinfo.c
index 15af26c..8f08242 100644
--- a/src/udiskslinuxfsinfo.c
+++ b/src/udiskslinuxfsinfo.c
@@ -121,7 +121,7 @@ const FSInfo _fs_info[] =
       NULL,
       FALSE, /* supports_online_label_rename */
       FALSE, /* supports_owners */
-      "mkexfatfs -n $LABEL $DEVICE",
+      "mkfs.exfat -n $LABEL $DEVICE",
       NULL,
       NULL, /* option_no_discard */
     },