Skip to content
Permalink
Browse files

must mount fs with -osync to avoid deadlocks

  • Loading branch information...
jacobgorm committed Dec 11, 2018
1 parent 56abf93 commit 2f65d64b25ffdcb1684dd96e7057ef5e6c2e3ea7
Showing with 1 addition and 1 deletion.
  1. +1 −1 statechange.sh
@@ -19,7 +19,7 @@ create)
;;

open)
(mkdir -p $MNT && mount $DEVICE $MNT) || (rm -rf $MNT; kill -2 $PID)
(mkdir -p $MNT && mount -osync $DEVICE $MNT) || (rm -rf $MNT; kill -2 $PID)
;;

close)

0 comments on commit 2f65d64

Please sign in to comment.
You can’t perform that action at this time.