hiby: r1_patcher: fix sd hotplug on newer firmwares

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit eecd4ec98b06c5bd957aaf8120f7d5514042db29
Author: Roman Artiukhin <[email protected]>
Date:   Wed Aug 5 22:29:02 2026 +0300

    hiby: r1_patcher: fix sd hotplug on newer firmwares
    
    flush mount option is no longer available.
    
    Change-Id: I2380c1adcd2c2ba914db492eff1ed49bb45cb30c

diff --git a/tools/r1_patcher/r1_patcher.sh b/tools/r1_patcher/r1_patcher.sh
index def1112565..b82a80457d 100755
--- a/tools/r1_patcher/r1_patcher.sh
+++ b/tools/r1_patcher/r1_patcher.sh
@@ -174,7 +174,7 @@ esac
 case "$ACTION" in
     add|"")
         mkdir -p "$MNT"
-        mount -t auto -o flush,noatime "/dev/$MDEV" "$MNT"
+        mount -t auto -o sync,noatime "/dev/$MDEV" "$MNT"
         ;;
     remove)
         umount -l "$MNT"
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.