Bug 24129 – Please mount vfat disks with shortname=mixed
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 8 Oct 2009 18:32:51 +0000 (20:32 +0200)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 9 Oct 2009 14:01:09 +0000 (10:01 -0400)
The previous default, shortname=lower, breaks all-uppercase file names ("touch
FOO" creates "foo"), thus breaks rsync, and Windows compatibility.

The default was changed in the Linux kernel as well, see
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=955234755ce4a2c33cfc558912aa8f2148cc1fc6

https://bugs.freedesktop.org/show_bug.cgi?id=24129

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/devkit-disks-device.c

index 6460afd..7275887 100644 (file)
@@ -4109,7 +4109,7 @@ typedef struct {
 
 static const char *vfat_defaults[] =       {"uid=",
                                             "gid=",
-                                            "shortname=lower",
+                                            "shortname=mixed",
                                             "dmask=0077",
                                             "utf8=1",
                                             NULL};