From owner-freebsd-hackers Mon Jun 3 06:57:06 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id GAA16416 for hackers-outgoing; Mon, 3 Jun 1996 06:57:06 -0700 (PDT) Received: from terra.Sarnoff.COM (terra.sarnoff.com [130.33.11.203]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id GAA16411 for ; Mon, 3 Jun 1996 06:57:04 -0700 (PDT) Received: (from rminnich@localhost) by terra.Sarnoff.COM (8.6.12/8.6.12) id JAA18375; Mon, 3 Jun 1996 09:56:33 -0400 Date: Mon, 3 Jun 1996 09:56:32 -0400 (EDT) From: "Ron G. Minnich" X-Sender: rminnich@terra To: hackers@FreeBSD.ORG Subject: Re: bugs In-Reply-To: <199606020600.BAA00232@dyson.iquest.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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