From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: File perforation. Date: Sat, 11 Jan 2003 09:47:43 +0000 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20030111094743.A22074@infradead.org> References: <21551.1042063560@passion.cambridge.redhat.com> <20030108225551.G26554@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Woodhouse , linux-fsdevel@vger.kernel.org Return-path: To: Matthew Wilcox Content-Disposition: inline In-Reply-To: <20030108225551.G26554@parcelfarce.linux.theplanet.co.uk>; from willy@debian.org on Wed, Jan 08, 2003 at 10:55:51PM +0000 List-Id: linux-fsdevel.vger.kernel.org On Wed, Jan 08, 2003 at 10:55:51PM +0000, Matthew Wilcox wrote: > On Wed, Jan 08, 2003 at 10:06:00PM +0000, David Woodhouse wrote: > > I've been resisting these requests because I really don't want to do it > > with an ioctl on the file. Only if we can have a generic sys_perforate() > > would I really want to do it. > > SGI have an fcntl to do this: > > http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/cat2/standard/fcntl.z > > F_FREESP Or the XFS_IOC_FREESP ioctl on XFS/Linux..