Package: gparted
Version: 1.2.0-1
Severity: normal
X-Debbugs-Cc: wiiliamchung...@gmail.com

Dear Maintainer,

Gparted attempts to create an exfat filesystem with an invalid syntax for the
filesystem label flag -L. Changing the flag to -n fixes the problem.

-- System Information:
Debian Release: 11.0
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'unstable'), (500, 'testing'),
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.11.18-21.05.03.amdgpu (SMP w/32 CPU threads)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not
set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gparted depends on:
ii  gparted-common        1.2.0-1
ii  libatkmm-1.6-1v5      2.28.0-3
ii  libc6                 2.31-13
ii  libcairomm-1.0-1v5    1.12.2-4
ii  libgcc-s1             10.2.1-6
ii  libglib2.0-0          2.66.8-1
ii  libglibmm-2.4-1v5     2.64.2-2
ii  libgtk-3-0            3.24.24-4
ii  libgtkmm-3.0-1v5      3.24.2-2
ii  libpangomm-1.4-1v5    2.42.1-1
ii  libparted-fs-resize0  3.4-1
ii  libparted2            3.4-1
ii  libsigc++-2.0-0v5     2.10.4-2
ii  libstdc++6            10.2.1-6
ii  libuuid1              2.36.1-7
ii  policykit-1           0.105-31

gparted recommends no packages.

Versions of packages gparted suggests:
pn  dmraid         <none>
ii  dmsetup        2:1.02.175-2.1
ii  dosfstools     4.2-1
ii  e2fsprogs      1.46.2-2
pn  gpart          <none>
pn  jfsutils       <none>
pn  kpartx         <none>
pn  mtools         <none>
ii  ntfs-3g        1:2017.3.23AR.3-4
pn  reiser4progs   <none>
pn  reiserfsprogs  <none>
pn  udftools       <none>
pn  xfsprogs       <none>
ii  yelp           3.38.3-1
>From 84436d1e04cbeb1fc74beb738c15d87c3d8e9421 Mon Sep 17 00:00:00 2001
From: mrwm <mrwm@wksp2>
Date: Sun, 15 Aug 2021 22:00:36 -0700
Subject: [PATCH 1/1] Fix exfat label syntax

Changes mkfs.exfat -L to use -n
---
 src/exfat.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/exfat.cc b/src/exfat.cc
index 41d0e72..0b1e841 100644
--- a/src/exfat.cc
+++ b/src/exfat.cc
@@ -55,7 +55,7 @@ FS exfat::get_filesystem_support()
 
 bool exfat::create(const Partition& new_partition, OperationDetail& 
operationdetail)
 {
-       return ! execute_command("mkfs.exfat -L " + 
Glib::shell_quote(new_partition.get_filesystem_label()) +
+       return ! execute_command("mkfs.exfat -n " + 
Glib::shell_quote(new_partition.get_filesystem_label()) +
                                 " " + 
Glib::shell_quote(new_partition.get_path()),
                                 operationdetail, 
EXEC_CHECK_STATUS|EXEC_CANCEL_SAFE);
 }
-- 
2.32.0

Reply via email to