Subject: Re: kern/1265: Bizarre bug in NFS/mmap code
To: Chris G Demetriou <Chris_G_Demetriou@BALVENIE.PDL.CS.CMU.EDU>
From: David Brownlee <D.K.Brownlee@city.ac.uk>
List: current-users
Date: 07/25/1995 12:22:34
On Mon, 24 Jul 1995, Chris G Demetriou wrote:
> > >Description:
> > 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.
>
I guessed it was something like that :)
>
> the solution: merge the vm system and buffer cache. weekend project,
> eh? 8-)
>
Hmm - my weekends don't come in that shape :)
Haven't the freebsd team already done this?
Is anybody working on this for netbsd, and/or is it possible to
take the work already done by the freebsd people?
David
D.K.Brownlee@city.ac.uk (MIME) +44 171 477 8186 {post,host}master (abs)
Network Analyst, UCS, City University, Northampton Square, London EC1V 0HB.
<<< Monochrome - Largest UK Internet BBS - try telnet mono.city.ac.uk >>>