diff options
author | Martin Pitt <martinpitt@gnome.org> | 2012-09-06 11:39:57 +0200 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2012-09-07 06:22:31 +0200 |
commit | dd21df29bf49d6f401f64f8df8adef5ced0c4b29 (patch) | |
tree | c287606735176baa9cafb9980b8a7e3983a6f145 | |
parent | 6ad67f13293669799659f9b953577dd6fb6e1597 (diff) | |
download | udisks-dd21df29bf49d6f401f64f8df8adef5ced0c4b29.tar.gz |
Bug 51063 — Mount vfat with "flush" option
For VFAT mounts we want the "flush" option, to avoid minute-long sync times
after ejecting/shutting down removable/hotpluggable devices in the UI.
Note that we keep the "flush" option as allowed option for now to avoid
breaking software like kdelibs (https://bugs.kde.org/show_bug.cgi?id=273792)
which applies this by default.
https://bugs.freedesktop.org/show_bug.cgi?id=51063
-rw-r--r-- | src/udiskslinuxfilesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udiskslinuxfilesystem.c b/src/udiskslinuxfilesystem.c index 6a64167..aa3a2ff 100644 --- a/src/udiskslinuxfilesystem.c +++ b/src/udiskslinuxfilesystem.c @@ -274,7 +274,7 @@ typedef struct /* ---------------------- vfat -------------------- */ -static const gchar *vfat_defaults[] = { "uid=", "gid=", "shortname=mixed", "dmask=0077", "utf8=1", "showexec", NULL }; +static const gchar *vfat_defaults[] = { "uid=", "gid=", "shortname=mixed", "dmask=0077", "utf8=1", "showexec", "flush", NULL }; static const gchar *vfat_allow[] = { "flush", "utf8=", "shortname=", "umask=", "dmask=", "fmask=", "codepage=", "iocharset=", "usefree", "showexec", NULL }; static const gchar *vfat_allow_uid_self[] = { "uid=", NULL }; static const gchar *vfat_allow_gid_self[] = { "gid=", NULL }; |