Re: [developer] Re: SEEK_DATA should fail at EOF

2025-02-15 Thread Bill Sommerfeld via Cygwin
On 2/14/25 23:42, Cedric Blancher wrote: cc: illumos-dev@ list. How does Solaris or Illumos behave? SUN/Solaris invented SEEK_DATA/SEEK_HOLE, so this should be - aside from looking at the OpenGroup/POSIX specs - the reference implementation. Thanks for asking. On Illumos, SEEK_DATA fails with

Cygwin sparse file support: Please support fcntl(...,F_FREESP,...)

2025-02-15 Thread Cedric Blancher via Cygwin
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 punching a hole into a file, and IMO it'll

Re: Where Cygwin snapshots?

2025-02-15 Thread Jon Turney via Cygwin
On 10/02/2025 05:51, Fergus Daly via Cygwin wrote: Every so often one needs a standalone interim update of e.g. cygwin1.dll. Latest working updates containing minor tweaks used to be available under the heading "Cygwin Snapshots" at https://cygwin.com/snapshots/ and this is still Google's best o

Re: /bin/cp of sparse files broken in 3.6.0-0.362.g68c13dc92f65.x86_64?

2025-02-15 Thread Jon Turney via Cygwin
On 15/02/2025 10:24, Corinna Vinschen via Cygwin wrote: On Feb 15 11:17, Corinna Vinschen via Cygwin wrote: https://cygwin.com/cygwin-ug-net/using.html#cygdrive I uploaded the new 3.6 version of that chapter to cygwin.com, btw. More generally, the documentation built for the latest test rel

Re: /bin/cp of sparse files broken in 3.6.0-0.362.g68c13dc92f65.x86_64?

2025-02-15 Thread Christian Franke via Cygwin
Corinna Vinschen via Cygwin wrote: On Feb 15 11:17, Corinna Vinschen via Cygwin wrote: https://cygwin.com/cygwin-ug-net/using.html#cygdrive I uploaded the new 3.6 version of that chapter to cygwin.com, btw. BTW, the info "sparse ... This flag is always silently enabled on SSD drives" is on

Re: SEEK_DATA should fail at EOF (was: coreutils-9.6-1 (TEST): cp: infinite SEEK_SET/DATA/HOLE loop if file is compressed)

2025-02-15 Thread Christian Franke via Cygwin
Corinna Vinschen via Cygwin wrote: On Feb 14 14:14, Corinna Vinschen via Cygwin wrote: On Feb 14 13:49, Corinna Vinschen via Cygwin wrote: On Feb 14 12:24, Christian Franke via Cygwin wrote: Hmm... does "beyond" mean '>=' or '>' ? ...do you think this fixes it? diff --git a/winsup/cygwin/fha

Re: /bin/cp of sparse files broken in 3.6.0-0.362.g68c13dc92f65.x86_64?

2025-02-15 Thread Corinna Vinschen via Cygwin
On Feb 15 11:17, Corinna Vinschen via Cygwin wrote: > https://cygwin.com/cygwin-ug-net/using.html#cygdrive I uploaded the new 3.6 version of that chapter to cygwin.com, btw. Corinna -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Document

Re: /bin/cp of sparse files broken in 3.6.0-0.362.g68c13dc92f65.x86_64?

2025-02-15 Thread Corinna Vinschen via Cygwin
On Feb 15 08:34, Cedric Blancher via Cygwin wrote: > On Thu, 13 Feb 2025 at 15:36, Corinna Vinschen via Cygwin > wrote: > > > > On Feb 13 09:02, Corinna Vinschen via Cygwin wrote: > > > This: > > > > > > > - Cygwin mount has "sparse" option (mount Y: -o sparse,exec /cygdrive/y) > > > > > > doesn't