View Single Post
Old 11-08-2020, 06:29 AM   #14
yorikk
Member
yorikk began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Nov 2020
Device: amazon kindle
Another research:

1) fsync + utime = FAILED, DISCONNECTED

sync /mnt/sdb1
touch /mnt/sdb1/driveinfo.calibre
# FAILED

2) fsync + utime + sync = OK

sync /mnt/sdb1
touch /mnt/sdb1/driveinfo.calibre
sync
# OK

Kindle disconnects in ~2 seconds after fsync. Calling touch (like utime) making FS change but OS cache not write it in 2 seconds. If utime() is synced immediately (by Linux "sync" command), everthing is OK.
yorikk is offline   Reply With Quote