Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 1996 09:56:32 -0400 (EDT)
From:      "Ron G. Minnich" <rminnich@Sarnoff.COM>
To:        hackers@FreeBSD.ORG
Subject:   Re: bugs
Message-ID:  <Pine.SUN.3.91.960603095540.18045B-100000@terra>
In-Reply-To: <199606020600.BAA00232@dyson.iquest.net>

next in thread | previous in thread | raw e-mail | index | archive | help

> MMAP doesn't extend files, AFAIK it doesn't on many (if not most
> other OSes.)  To set the length of the file you need to do an ftruncate.
> After that, then blocks will be allocated as needed.

There is an option on irix to automagically extend not only the file but 
the mmap'ed region. A misfeature IMHO.

ron



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960603095540.18045B-100000>