The proper solution is to recreate the FS using mkfs.exfat utility on your PC.
Hi,
I have a Panasonic Lumix DMC TZ-40 camera with a 64 GB SD card. The exFAT filesystem of the SD card has been created by the camera at the first usage.
After upgrading 2 of my 4 computers from Debian Wheezy 7.0 (fuse exfat 0.9.2) to Debian Jessie 8.0 (fuse exfat 1.1.0), I discovered that my camera does not work anymore with fuse-exfat 1.1.0.
So I have tried to compile older versions of fuse-exfat to discover when the regression appears.
When I plug the camera on a USB port of my computer, and try to mount the exfat partition as read-only.
It works at least with fuse-exfat version 0.9.2, 1.0.0, 1.0.1
# mount.exfat /dev/sdb1 /mnt
FUSE exfat 1.0.1
WARN: `/dev/sdb1' is write-protected, mounting read-only.
I can get the pictures in /mnt
But it fails with fuse-exfat-1.1.0 it says
# mount.exfat /dev/sdb1 /mnt
FUSE exfat 1.1.0
WARN: '/dev/sdb1' is write-protected, mounting read-only.
ERROR: file system is larger than underlying device: 63467159552 > 63467159040.
and I have nothing in /mnt
I have also tried with the last SVN version (today 2015-01-17), and I get the same error message: ERROR: file system is larger than underlying device: 63467159552 > 63467159040.
Conclusion:
- for me the solution is to switch back to fuse-exfat-1.0.1- for read-only filesystem, mount.exfat may print some warning message instead of aborting on error.
best regards
---
koopa
Thank you. I agree that it is a thorny problem and users typically ignore or don't see warnings when they use a wrapper. The code I posted was only intended for people like me with Panasonic cameras and had ended up reading this thread.