Subject: Re: lseek() extension for spare files
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 09/22/2006 08:00:02
On Thu, Sep 21, 2006 at 10:01:45PM -0400, der Mouse wrote:
> 
> Actually, this sets a precedent of exposing holes in files to the API,
> but does it only halfway.  I think that if we're going to do that, we
> should also add a way to say "discard this byte-range, creating holes
> where possible", with semantics equivalent to overwriting with zeros
> except with respect to holes.

IIRC there is an fcntl that does that.

	David

-- 
David Laight: david@l8s.co.uk