[Pkg-utopia-maintainers] Bug#994690: udisks2: Switch to exfatprogs mkfs.exfat incomplete

Sven Hoexter sven at stormbind.net
Sun Sep 19 14:38:46 BST 2021


Package: udisks2
Version: 2.9.3-1
Severity: normal
Tags: patch

Hi Michael,
due to a bugreport for exfatprogs[1] I took note of
#992152 which tried to move from exfat-utils to exfatprogs.
Thanks for moving on with that one, much appreciated. Sadly
the switch is not that easy since the commandline flags
differ. The exfat-utils mkfs tool used '-n' for labeling but
exfatprogs authors choose the more common '-L'.

The fix should be a rather trivial one-char change:

--- udiskslinuxfsinfo.c.orig	2021-09-19 15:27:08.945433340 +0200
+++ udiskslinuxfsinfo.c	2021-09-19 15:29:11.750075406 +0200
@@ -123,7 +123,7 @@
       NULL,
       FALSE, /* supports_online_label_rename */
       FALSE, /* supports_owners */
-      "mkfs.exfat -n $LABEL $DEVICE",
+      "mkfs.exfat -L $LABEL $DEVICE",
       NULL,
       NULL, /* option_no_discard */
     },

Regards,
Sven

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994529

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages udisks2 depends on:
ii  dbus                   1.12.20-2
ii  libacl1                2.3.1-1
pn  libatasmart4           <none>
pn  libblockdev-fs2        <none>
pn  libblockdev-loop2      <none>
pn  libblockdev-part2      <none>
pn  libblockdev-swap2      <none>
pn  libblockdev-utils2     <none>
pn  libblockdev2           <none>
ii  libc6                  2.32-3
ii  libglib2.0-0           2.68.4-1
ii  libgudev-1.0-0         237-2
ii  libmount1              2.37.2-2
ii  libpolkit-agent-1-0    0.105-31
ii  libpolkit-gobject-1-0  0.105-31
ii  libsystemd0            247.9-1
pn  libudisks2-0           <none>
ii  libuuid1               2.37.2-2
pn  parted                 <none>
ii  udev                   247.9-1

Versions of packages udisks2 recommends:
ii  dosfstools           4.2-1
ii  e2fsprogs            1.46.4-1
pn  eject                <none>
ii  exfatprogs           1.1.2-2
pn  libblockdev-crypto2  <none>
ii  libpam-systemd       247.9-1
pn  ntfs-3g              <none>
ii  policykit-1          0.105-31

Versions of packages udisks2 suggests:
pn  btrfs-progs          <none>
pn  f2fs-tools           <none>
pn  libblockdev-mdraid2  <none>
pn  mdadm                <none>
pn  nilfs-tools          <none>
pn  reiserfsprogs        <none>
pn  udftools             <none>
pn  udisks2-bcache       <none>
pn  udisks2-btrfs        <none>
pn  udisks2-lvm2         <none>
pn  udisks2-zram         <none>
pn  xfsprogs             <none>



More information about the Pkg-utopia-maintainers mailing list