Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exFAT: Sometimes, icat only reads the first cluster of a file. #2920

Open
HT-7 opened this issue May 13, 2024 · 0 comments
Open

exFAT: Sometimes, icat only reads the first cluster of a file. #2920

HT-7 opened this issue May 13, 2024 · 0 comments

Comments

@HT-7
Copy link

HT-7 commented May 13, 2024

From fls -l /dev/mmcblk0 (exFAT, 128K clusters):

++++ r/r * 19128323:	[redacted for privacy].zip	2021-01-30 14:40:16 (CET)	2021-01-30 00:00:00 (CET)	0000-00-00 00:00:00 (UTC)	2021-01-30 14:40:16 (CET)	25008503	0	0

When I run sudo icat /dev/mmcblk0p1 19128323 >>tmp.zip, the output file is 131072 bytes in size (which is 128 KiB), not 25008503 bytes.

The tmp.zip file starts with PK and contains binary data, so I presume the first 131072 bytes of the file were read correctly, but it doesn't read beyond that. But a MP4 file on the same device was read entirely.

I have no idea what causes this, nor how to reproduce this bug, but I will keep you updated when I find out more about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant