Subject: Re: kern/1265: Bizarre bug in NFS/mmap code
To: None <firstname.lastname@example.org>
From: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
Date: 07/24/1995 17:16:20
> I have a file NFS mounted from a SunOS 4.1.3u1 fileserver onto various
> machines. One of which is a sun4 running NetBSD -current (muon)
> It used to be "abs culf dp myth norm nostra socrates tjfas tugs"
> It was changed to "abs culf dp myth norm nostra tjfas tugs"
> 'cat' on muon gives "abs culf dp myth norm nostra tjfas tugs"
> 'vi' on muon gives "abs culf dp myth norm nostra socrates tj"
> vi, cat, more, (other editor), on various other machines give the
> correct result.
this is a mmap vs. buffer cache problem.
you'll note that the new file's length is correct (don't forget that
trailing newline, which vi will add if there's not one in the
file...), but that the data is correct.
the solution: merge the vm system and buffer cache. weekend project,