"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Ted Bullock <tbullock@comlore.com>
Subject:
Re: vi struggling to save commit messages
To:
gameoftrees@openbsd.org
Date:
Wed, 8 Mar 2023 08:33:27 -0700

Download raw body.

Thread
On 2023-03-07 11:32 p.m., Stefan Sperling wrote:
> On Tue, Mar 07, 2023 at 07:41:05PM -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 prints this message if device number, inode, or timestamp do
> not match exactly the values it saw when first opening the file.
> And vi is using nanosecond precision for its timestamp check.
> 
> I wonder if the timestamp between NFS server and client could differ
> by some amount of nanoseconds? Or would such a difference be unexpected
> with NFS?
> 
> Out of curiousity, does sleeping for 1 second before starting vi
> affect vi's behaviour?

No it doesn't appear to. I'm still seeing the complaint.

-- 
Ted Bullock <tbullock@comlore.com>