www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/02/05/09:34:06

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 615EY6Ag1277033
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 615EY6Ag1277033
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=GxgHDA7G
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4A5E04BA2E08
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1770302045;
bh=tnv9+/TQD8zR590xyUF5whA/DS+iB6ZryxfaPrXLlA8=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=GxgHDA7GJ5nTwOrOCe03hypI1Hv7Iq5YYImhccJQYRTCzOK2y3wyni0feLxv/O7H4
dzg1QmBpaLB3h28xcdC5axJqvDwqID6EzX7Kf7ccUDecMyi0GbKjpZjGmxdaw5Jcdg
Fu+ysG9x9WZoCtzjNF884OGIhLeowEJAUMeXYFyU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 70A9C4BA2E1B
Date: Thu, 5 Feb 2026 15:33:47 +0100
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin sparse file support: Please support fcntl(..., F_FREESP,
...)
Message-ID: <aYSqS2_OPesYKYGe@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALXu0Ud81zLUaJ3DY1M3UPshBdEMHmQ1sYYDsvqQv9U3FnaMJA AT mail DOT gmail DOT com>
<CAHnbEGJ0PmtG7dCWQyVFasY0tSZVow1Gp61nDeMn=BK3U42Xxw AT mail DOT gmail DOT com>
<Z7MJSQVFRjZ4s_ko AT calimero DOT vinschen DOT de>
<CALXu0UeOFwKruiCUs=+8Hm2yA89tPXVtb=tAqfu-z+xE63o5=w AT mail DOT gmail DOT com>
<CALXu0Ucvsjrri6Ltie3ytsW_2PRbWLmX3yZE4EypVe0-WFjkeQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CALXu0Ucvsjrri6Ltie3ytsW_2PRbWLmX3yZE4EypVe0-WFjkeQ@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 615EY6Ag1277033

On Feb  5 08:41, Cedric Blancher via Cygwin wrote:
> On Thu, 5 Jun 2025 at 09:07, Cedric Blancher <cedric DOT blancher AT gmail DOT com> wrote:
> >
> > On Mon, 17 Feb 2025 at 11:07, Corinna Vinschen via Cygwin
> > <cygwin AT cygwin DOT com> wrote:
> > >
> > > On Feb 16 16:27, Sebastian Feld via Cygwin wrote:
> > > > On Sat, Feb 15, 2025 at 4:15 PM Cedric Blancher via Cygwin
> > > > <cygwin AT cygwin DOT com> wrote:
> > > > >
> > > > > Good afternoon!
> > > > >
> > > > > Could Cygwin 3.6 please support fcntl(...,F_FREESP,...) and
> > > > > cntl(...,F_FREESP64,...), as specified in
> > > > > https://docs.oracle.com/cd/E19253-01/816-5167/fcntl-2/index.html
> > > > >
> > > > > Lots of older software from Solaris, SUPER/UX, CrayOS use F_FREESP for
> > > >
> > > > QNX and AIX support F_ALLOCSP and F_FREESP
> > > >
> > > > > punching a hole into a file, and IMO it'll be nice if this works for
> > > > > Cygwin out of the box.
> > > >
> > > > +1
> > > >
> > > > Please also add F_ALLOCSP and F_ALLOCSP64 to allocate space in a file.
> > > > Like F_FREESP and F_FREESP64 it takes a struct flock/flock64, so it's
> > > > a pretty straightforward API.
> > >
> > > No, we won't do that. We're not adding any new feature to 3.6 this
> > > close to the release.
> >
> > What about now? Could this be implemented for Cygwin 3.7, please?
> 
> Hello?

These are equivalent to the fallocate stuff.  Just add an #ifdef to
the source.  You'll have to do that on Linux anyway.

If you want this in Cygwin, please consider https://cygwin.com/acronyms/#PTC


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019