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)
Mon, Apr 27, 4:19 PM
Unknown Object (File)
Sat, Apr 18, 8:29 AM
Unknown Object (File)
Apr 11 2026, 9:45 PM
Unknown Object (File)
Apr 11 2026, 8:34 PM
Unknown Object (File)
Apr 10 2026, 12:58 PM
Unknown Object (File)
Apr 1 2026, 3:30 PM
Unknown Object (File)
Apr 1 2026, 4:54 AM
Unknown Object (File)
Mar 20 2026, 12:48 AM
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