From: Ted Bullock Subject: Re: vi struggling to save commit messages To: "Todd C. Miller" Cc: gameoftrees@openbsd.org Date: Wed, 8 Mar 2023 10:42:07 -0700 On 2023-03-08 9:14 a.m., Todd C. Miller wrote: > On Tue, 07 Mar 2023 19:41:05 -0700, Ted Bullock wrote: > >> I'm getting this when I try to commit a file now that got has switched >> to vi instead of ed. :P >> >> vi reports: >> logmsg-vu6jOR: file modified more recently than this copy >> >> My got working directory is shared on an NFS mount since my old Sun >> workstation is quite thin and doesn't have much of a hdd. >> >> I double checked the time on the NFS server, it's correct and consistent >> with the workstation. > > NFS v2 mounts only support usec time stamp, if you use NFS v3 the > problem may go away. I thought that nfs v3 was the default? It does say so for mount_nfs(3) In my /etc/fstab I did just add a -3 to the options line and remounted the nfs share, and didn't see a difference in behavior for what it's worth. Maybe I'm missing something?