Page MenuHomeFreeBSD

makefs: Fix atime tests on MS-DOS (FAT) file systems
AcceptedPublic

Authored by jlduran on Jan 7 2026, 7:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 30, 8:15 PM
Unknown Object (File)
Fri, May 29, 6:42 PM
Unknown Object (File)
Thu, May 28, 12:49 PM
Unknown Object (File)
Sun, May 24, 11:39 PM
Unknown Object (File)
Sun, May 24, 11:39 PM
Unknown Object (File)
May 18 2026, 8:22 AM
Unknown Object (File)
May 16 2026, 12:35 PM
Unknown Object (File)
May 16 2026, 12:35 PM
Subscribers

Details

Reviewers
ngie
Group Reviewers
tests
Summary

On FAT file systems, access time has a resolution of 1 day, so it is
really the access date.

Strip the time component from the epoch timestamp in order to check the
access time.

Reference: https://learn.microsoft.com/en-us/windows/win32/sysinfo/file-times

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69696
Build 66579: arc lint + arc unit