summaryrefslogtreecommitdiffstats
path: root/recipes-support/udisks/files/automount.sh
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-support/udisks/files/automount.sh')
-rwxr-xr-xrecipes-support/udisks/files/automount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-support/udisks/files/automount.sh b/recipes-support/udisks/files/automount.sh
index 3e4b24b5f..23e0456af 100755
--- a/recipes-support/udisks/files/automount.sh
+++ b/recipes-support/udisks/files/automount.sh
@@ -4,7 +4,7 @@ pathtoname() {
udevadm info -p /sys/"$1" | awk -v FS== '/DEVNAME/ {print $2}'
}
-MOUNT_OPTIONS="ro,sync"
+MOUNT_OPTIONS="ro,flush"
rmdir /media/* &> /dev/null || true
for DEVNAME in $(udisks --enumerate-device-files|grep -e sd[a-z][0-9]); do