Linux 5.14 Works Around Compatibility With Some Digital Camera exFAT File-Systems
Written by Michael Larabel in Linux Storage on 5 July 2021 at 06:16 AM EDT. 13 Comments
LINUX STORAGE --
Merged back in Linux 5.4 in late 2019 was the exFAT file-system driver that has proven to be quite mature at this stage with the work led by Samsung under the blessing of Microsoft. There hasn't been much in the way of exFAT file-system driver changes in recent kernel releases given its maturity. Even with Linux 5.14 there are just two exFAT patches but end up being notable at least for some users due to fixing file-system compatibility with some digital cameras.

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.
Related News
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Popular News This Week