diff options
Diffstat (limited to 'recipes-support')
-rwxr-xr-x | recipes-support/udisks/files/automount.sh | 2 |
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 |