FAT32 File Creation/Birth Time Reporting Finally Comes To Linux
Written by Michael Larabel in Linux Storage on 28 May 2022 at 05:21 AM EDT. 13 Comments
LINUX STORAGE --
Finally for FAT file-systems with the in-development Linux 5.19 kernel is support via the statx() system call for reporting a file's birth/creation time.

In continuation of the article earlier this month about Linux FAT file creation/birth time reporting, that code by way of Andew Morton's branch has been successfully mainlined into the kernel as of yesterday.

As explained in the earlier article, since Linux 4.11 in 2017 there has been the statx system call with enhanced file information reporting that can be used for standardizing the exposing of file creation/birth times and other information not otherwise exposed via the traditional stat system call. The statx system call for these "extended attributes" has been added to Glibc and various extended bits of information exposed by the various Linux file-systems.


This pull has the changes for reporting the creation time in statx on FAT16/FAT32 file-systems. The FAT Linux driver has reported a creation time "ctime" previously but set as the change time for a file too.
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, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week