simple-mtpfs/src
Cyp 2c44f913e8 On partial read/write, keep reading.
This avoids rsync errors and avoids data loss with cp, due to
failing to copy the last byte of 0.1953125% of files.

Unless direct_io is set, fuse expects a full read/write.

As a workaround for a device hanging bug, if the length of a file
on a Samsung device is 500 bytes modulo 512 bytes, libmtp returns a
partial read omitting the last byte which must be requested
separately.

Fixes #85.
2023-10-28 11:28:59 +02:00
..
makefile.am update autotools scripts 2020-07-18 20:10:59 +01:00
simple-mtpfs-fuse.cpp On partial read/write, keep reading. 2023-10-28 11:28:59 +02:00
simple-mtpfs-fuse.h fuse include dir passed on include path 2020-07-18 20:12:49 +01:00
simple-mtpfs-libmtp.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-libmtp.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-log.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-log.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-ls.cpp copyright update 2013-11-18 19:09:45 +01:00
simple-mtpfs-main.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-mtp-device.cpp On partial read/write, keep reading. 2023-10-28 11:28:59 +02:00
simple-mtpfs-mtp-device.h Added support for get/sendPartialObject 2019-11-02 09:20:17 +01:00
simple-mtpfs-sha1.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-sha1.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-tmp-files-pool.cpp fix return value for removeTmpDir 2020-01-06 09:46:48 +09:00
simple-mtpfs-tmp-files-pool.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-basic.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-dir.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-dir.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-file.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-file.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-tmp-file.cpp copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-type-tmp-file.h copyright update 2016-04-13 15:54:55 +02:00
simple-mtpfs-util.cpp Replace mktemp(1) by mkdtemp(3) 2016-11-27 15:40:34 +01:00
simple-mtpfs-util.h copyright update 2016-04-13 15:54:55 +02:00