Linux 5.14 Works Around Compatibility With Some Digital Camera exFAT File-Systems

Linux 5.14's exFAT brings improved compatibility with the exFAT file-systems from some digital cameras. In particular, when mounting an exFAT file-system from select digital cameras under Linux, in some cases not all of the files would show up under Linux.
This issue appears to be ultimately with the digital camera's firmware and not Linux in that the data length in the stream entry of the directory is not getting updated under some conditions. This meant Linux wasn't showing all of the files in a given directory when the data length wasn't being updated.
Now with the patches for the exFAT driver in Linux 5.14 is a patch to handle the wrong stream entry size in the exFAT read directory function. This fix/workaround will also be back-ported to stable kernels.
This issue of "missing files" appears to happen with at least some Fuji digital cameras while it remains to be seen if the vendor will update their exFAT file-system as they appear to be the one out of spec in this case.
13 Comments