Page MenuHomeFreeBSD

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

Authored by jlduran on Jan 7 2026, 7:54 PM.
Tags
None
Referenced Files
F174133943: D54584.id184694.diff
Wed, Sep 30, 8:17 PM
F174117488: D54584.id169267.diff
Wed, Sep 30, 6:06 PM
F174110806: D54584.diff
Wed, Sep 30, 5:06 PM
Unknown Object (File)
Sat, Sep 19, 4:30 PM
Unknown Object (File)
Fri, Sep 18, 2:08 PM
Unknown Object (File)
Fri, Sep 18, 5:46 AM
Unknown Object (File)
Fri, Sep 11, 6:18 PM
Unknown Object (File)
Tue, Sep 8, 9:36 AM
Subscribers

Details

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