Package: pmount
Version: 0.9.99-alpha-1
Followup-For: Bug #755434

  Hi,

  It would be pleasant if pmount stretch supports exfat. I know
the problems with this FS, but it is more and more used on
large SD cards (in camera for example).

  The patch is simple (and can be applied on the current stretch
version if you do not plan to upload 0.9.99-alpha-1 to stretch).
It comes from https://bugs.launchpad.net/ubuntu/+source/pmount/+bug/1524523
I add it for reference in this mail.

  Regards,
    Vincent


-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), 
(200, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel

Kernel: Linux 4.9.0-rc8-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pmount depends on:
ii  libblkid1  2.29-1
ii  libc6      2.24-8

pmount recommends no packages.

Versions of packages pmount suggests:
ii  cryptsetup  2:1.7.3-3

-- no debconf information
diff --git a/debian/patches/02-exfat-support.diff 
b/debian/patches/02-exfat-support.diff
new file mode 100644
index 0000000..19650df
--- /dev/null
+++ b/debian/patches/02-exfat-support.diff
@@ -0,0 +1,11 @@
+Add support for exfat
+--- a/src/fs.c
++++ b/src/fs.c
+@@ -23,6 +23,7 @@
+     { "iso9660", "nosuid,nodev,user", 1, NULL, ",iocharset=%s" },
+     { "vfat", "nosuid,nodev,user,quiet,shortname=mixed", 1, "077", 
+       ",iocharset=%s",",fmask=%04o,dmask=%04o"},
++    { "exfat", "nosuid,nodev,user,quiet,nonempty", 1, "077", 
",iocharset=%s",",fmask=%04o,dmask=%04o"},
+     { "hfsplus", "nosuid,nodev,user", 1, NULL, 0 },
+     { "hfs", "nosuid,nodev,user", 1, "077", NULL, 
+       ",file_umask=%04o,dir_umask=%04o"},
diff --git a/debian/patches/series b/debian/patches/series
index e706419..f1ac0f2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 01-man-plugdev.diff
+02-exfat-support.diff

Reply via email to