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: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit 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 wrote: > > > > On Mon, 17 Feb 2025 at 11:07, Corinna Vinschen via Cygwin > > wrote: > > > > > > On Feb 16 16:27, Sebastian Feld via Cygwin wrote: > > > > On Sat, Feb 15, 2025 at 4:15 PM Cedric Blancher via Cygwin > > > > 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