From owner-freebsd-hackers Mon Jun 3 02:13:39 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA22845 for hackers-outgoing; Mon, 3 Jun 1996 02:13:39 -0700 (PDT) Received: from isbalham (isbalham.ist.co.uk [192.31.26.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id CAA22840; Mon, 3 Jun 1996 02:13:32 -0700 (PDT) Received: from gid.co.uk (uucp@localhost) by isbalham (8.6.12/8.6.12) with UUCP id KAA06789; Mon, 3 Jun 1996 10:11:55 +0100 Received: from [194.32.164.2] by seagoon.gid.co.uk; Mon, 3 Jun 1996 09:24:18 +0100 X-Sender: rb@194.32.164.1 Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 Jun 1996 09:29:10 +0100 To: Bruce Evans , alex@freebsd.org, pjf@cts.com From: rb@gid.co.uk (Bob Bishop) Subject: Re: bugs [ftruncate] Cc: bde@freebsd.org, dyson@freebsd.org, hackers@freebsd.org Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 8:48 am 3/6/96, Bruce Evans wrote: > [...] >> These two functions are provided by SVR4 and 4.3+BSD. They are not >> part of POSIX.1 or XPG3. > >> SVR4 truncates or extends a file. 4.3+BSD only truncates a file with >> these functions -- they can't be used to extend a file. > >Extension is supposed to work now. This seems to be standard in 4.4Lite. >ISTR it not working in FreeBSD-1.1. The man page is still misleading in >4.4Lite2. Don't forget that this has to work right for NFS too: I've had problems in the past with non-FreeBSD clients off a FreeBSD server being unable to extend files. -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK