DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 61K7dPL21266668 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 61K7dPL21266668 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=DRVKJmWN X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 82FB34B9DB78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1771573164; bh=nH/FoD+fmQqpusQ659YOprJqCdMCNs4R2EoL2EMtb4I=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DRVKJmWNG/0Mi9ua4DdpsIfmTYISNlUGkRkatC5P4o2Exd+sKtE5zVi3ZYgG9RR7q 7uR/MDhO734c+phEHq31Ekk0eqe1mxvQkNUuXgINWnv60hx3Mn4FA2oZNozac+wEQs U5IKAwBUYU7ZOQ4j1TPU35GJ4nSqPQTCXMfZlCC0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AAFB84B9DB4E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AAFB84B9DB4E ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1771573113; cv=pass; b=LIo6mqC6vZghHf1bmsXefyRL9CvI9UfoaU+OgbSfMA+xNn00YJoxW9mBC+q7jB0mvZ8p/YneSczUN92jmXecspBF3YVahSHpzhbq2Qe674M3V04R3FVNFKFAMA30e7HLtojILpOwxfmd+de0HbGCftbEUkNzZTLiVoMs7SYqYqo= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1771573113; c=relaxed/simple; bh=bDvMtKcsmdEJorqZqOER5xUK2x8x+xAWmsD7pVYz/t0=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=nr+lhNtZOgXWlz5hh2Q9U/x64Mrdl6D/kpeJ8FlYYgLWhfW5UcpKzUZg04O5GyvF2rRM8lr6da9rc/XVsqcEVSIWxyBNj4p7KH1PcTqkGNZAUNNdCt7riD3/0JVgxYK/xGgvzDZ2gbTQH6xnxaGEzylwYKkybwVAwsNQ/SJU9u4= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AAFB84B9DB4E ARC-Seal: i=1; a=rsa-sha256; t=1771573112; cv=none; d=google.com; s=arc-20240605; b=KzlIpvwL0gd/TtIjaVL9NnWQZem7udRUWf9FHLUpRZXtazxxAR6FBUb/jPpkgEKT/d 4271Nehb6ycNpEfMtN2jzaTWvyJIfW2HJGnWneLv7m0fECRHTpLg+AdU12q3nyYXUCRR lg5MFvWWZZ+VVJ3akEeLZWuDvlcMYll8rQ681k4t4veIfdeXOnRBs24S8ZBTxcmdWoEe /2y2s2sKB1YV2e4SXj3KorAjHbhR+5M6muqDhJskBxCmpH3+sRX1aGsxOL/yKAqTPRUS n5Hu1c9xfPBBDaHiWQ3GHylhod4QVu18ojSupYtJVgF/D/tZI+WX2idDsie7IvBECbzO nsuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Zkb2Bn+I4dZhvvn3pCkpcQJVgr43xBmOLXS2k3fOzbM=; fh=UKNFaOBO97U3RYl3PEse//nArTqr7SLJjCCEBz281Ew=; b=L+yk2KevdNBjKizz351+Tv7NHJI6gcQeVvOwptew6YyH/+cxN0LVDq4UdinFkZ8T8u NWAFriG7xIw9BEd8Atj9MyuH1ydirI7h900EBfEkaggn6yZ0qNSM9LepF+P4NPjhxnUb FJMeuzXeI+LJ56h2FGdxgbjjgxHqN6aL1UPackBdOCk4eCj8io7l51tV5G+aXZgUBiV0 yUgPXemOXRVjnjuC8r8nnZvCZNwSAPHNHgPxnVnrBOW2o7rTaXLmCh7/Xzm7/JcE2Mqa x8yfvB/rF7dAJfpC2sTpsNUO/CwF5xrq7lPZ+wbg1Nejqn9m5hIMfcSGSBQMYM835TzK 7zvA==; darn=cygwin.com ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771573112; x=1772177912; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=Zkb2Bn+I4dZhvvn3pCkpcQJVgr43xBmOLXS2k3fOzbM=; b=J536J9Da2Dt7stPOF0t4uEilNz9CkzE1J4rEwVGEXpIt3q0JZV5hJtiVnD0laB2Sy1 A/zmv2YKpibpylIkRWEkm1B7C1oF2KoR7fM1c2sEGj1vaDgRfJLE27ybH/0LAOSzZBRO egR5oGc7bFe19iX0WjAH7Y/P6EWeCRB56eFRYrdnVtOs/mlHqeb2ZO1O2bCNDS4HaTsi X/huRnsxdeLy/YFAoZh588Igu0X58yQjJr1Nfa5ja/gcDjddRN96Zbv/fXN272iIhLAf CA2lJ2OJMZ71M49gMpp6o6obhcuZFup9C2FHOx91ySxJ1zfN/px/dFwRCWE8YtLCzC45 CBGg== X-Gm-Message-State: AOJu0YxYtLYvuKWvWmGmqI/u36UQYDaSm8vpMYs25bYCXziB2JBXw/+d 5t/x+T55IkjNCRZuyonufHkbapxGiteNVEsCEjhmtIAN0ceFdFfg9MdhPSrWs5Rj03qVrF23UqV FVXBqUGkgdbjNViQt6DYCHMphJy4wBGlurg== X-Gm-Gg: AZuq6aII61XTEGui9jh65rliYwyNskFlWZSSw2zipD0QwyeP2m53+0cdFcxzqiYTn4K +TGpUsMmlY79Rx2JttRddzZ3bK49cQi/5Rp+kj4jCG2eFVMyF46UCwEymxG5RWYr6uzfd83KEzv h1soFwn/05pjYcMO99GpWqeH97wYmkQzKX3NaBfar7KKy/6oiCNd5UD3358kUY7UwaWhHmqxaas O7wgEIRcQ+pzsoZb++k49ve0ggDgNtE23kzEgwrTh9v6m4YJ5lmPFfrLF+gJbaLz2X6/gEi98He E6zjqg== X-Received: by 2002:a05:6820:824:b0:677:ca4f:e979 with SMTP id 006d021491bc7-6785bc60182mr11084322eaf.63.1771573112393; Thu, 19 Feb 2026 23:38:32 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 20 Feb 2026 08:38:00 +0100 X-Gm-Features: AaiRm503YVQjI3zvdpSsGj8NUPp41q7JFU4ItQJpKzIZOg0B74Mzk-Qo9f1824c Message-ID: Subject: Re: Cygwin sparse file support: Please support fcntl(..., F_FREESP, ...) To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Cedric Blancher via Cygwin Reply-To: Cedric Blancher Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 61K7dPL21266668 On Thu, 5 Feb 2026 at 15:34, Corinna Vinschen via Cygwin wrote: > > 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 I'll try my luck with making a patch Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- 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