Am 04.11.2015 um 15:56 schrieb Stefano Miccoli: > I would not blame python, nor owfs, but fuse. > Not, it's not fuse.
It's because read() is *not atomic*. As soon you read multi-byte values from files -such as files whioch contain an ASCII representation of numbers, as owfs has- you have to take care noone writes to that file at the same position at the same moment. That is what file locking is for. But neiter the OPs python program nor owfs support advisory file locking. Kernel-enforced (==mandatory) file locking isn't supported by FUSE either IIRC. Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers