Re: FreeBSD NFSv4 server supports FATTR4_TIME_METADATA ?

From: Rick Macklem <rick.macklem_at_gmail.com>
Date: Wed, 21 Jan 2026 22:51:07 UTC
On Tue, Jan 20, 2026 at 11:19 AM Martin Wege <martin.l.wege@gmail.com> wrote:
>
> Hello,
>
> Does the FreeBSD NFSv4 server support FATTR4_TIME_METADATA? How
> reliable is this on UFS, ZFS, msdosfs, ...?
I believe the answer is: yes, yes, sort of.
(For those not familiar with NFSv4 speak FATTR4_TIME_METADATA refers
to what POSIX calls ctime.)

As far as I know, UFS and ZFS implements ctime in a POSIX complaint
way and I believe that is sufficient for NFSv4's FATTR4_TIME_METADATA.
msdosfs sets ctime to the same value as mtime and then the NFSv4
server returns that value. (Is that sufficient or correct? sort of afaik)

rick

>
> Thanks,
> Martin
>