Subject: Re: lseek() extension for spare files
To: None <tech-kern@NetBSD.org>
From: Pavel Cahyna <pavel@NetBSD.org>
List: tech-kern
Date: 09/23/2006 09:52:40
On Fri, Sep 22, 2006 at 11:27:10PM -0400, der Mouse wrote:
> >> 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.
> 
> I just looked through (nroff output for) (what I think is) -current's
> fcntl.2 (fcntl.2,v 1.31) and don't see any such thing there.
> 
> Am I missing something?

Yes, it's a fcntl for Solaris.

Pavel