Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Dec 1995 09:13:56 -0500 (EST)
From:      Steve Hovey <>
To:        Terry Lambert <>
Cc:        Jukka Ukkonen <>,,
Subject:   Re: Any operational code using mmap() on FreeBSD ?
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

On Wed, 6 Dec 1995, Terry Lambert wrote:

> > 	Does anyone have a working example of code that uses mmap(2)
> > 	on FreeBSD? I have tried several examples that have been quite
> > 	all right on ConvexOS (10.2 and 11.0) and SunOS (4.1.[34]),
> > 	but failed quite miserably when tried on FreeBSD (2.0.5).
> > 
> > 	As I am beginning to suspect that mmap() is somehow different
> > 	on FreeBSD from what it is on Convex or Sun (or maybe it has
> > 	never really worked on FreeBSD) I would like to see a working
> > 	example, if there is any available. If there is none, I'd better
> > 	let that mmap() thing alone, and try to do something more useful.
> I would (and I'm sure John and other who are actually working on this
> would!) like to see some small test cases with assertions for correct
> results for the test cases you are interested in.  Would this be possible?

MMAP under freebsd 2.05-R is broken.  I run an INN news server on 2.0.5R 
and if I compiled it using MMAP, the correct values were not maintained 
in the active file.  This problems occurred when usage got to the size 
that virtual ram swapping came into play.

Want to link to this message? Use this URL: <>