Re: Cygwin copy_file_range() support with sparse file+FSCTL_DUPLICATE_EXTENTS_TO_FILE?

2025-01-05 Thread Cedric Blancher via Cygwin
On Sun, 5 Jan 2025 at 17:31, Brian Inglis via Cygwin wrote: > > On 2025-01-05 06:52, Takeshi Nishimura via Cygwin wrote: > > On Sun, Jan 5, 2025 at 1:06 PM Václav Haisman via Cygwin wrote: > >> On 05. 01. 25 7:31, Cedric Blancher via Cygwin wrote: > >>> Could Cygwin implement copy_file_range() sup

Re: Cygwin copy_file_range() support with sparse file+FSCTL_DUPLICATE_EXTENTS_TO_FILE?

2025-01-05 Thread Cedric Blancher via Cygwin
On Sun, 5 Jan 2025 at 14:53, Takeshi Nishimura via Cygwin wrote: > > On Sun, Jan 5, 2025 at 1:06 PM Václav Haisman via Cygwin > wrote: > > > > On 05. 01. 25 7:31, Cedric Blancher via Cygwin wrote: > > > Good morning! > > > > > > Could Cygwin implement copy_file_range() support, including sparse >

Re: Cygwin copy_file_range() support with sparse file+FSCTL_DUPLICATE_EXTENTS_TO_FILE?

2025-01-05 Thread Brian Inglis via Cygwin
On 2025-01-05 06:52, Takeshi Nishimura via Cygwin wrote: On Sun, Jan 5, 2025 at 1:06 PM Václav Haisman via Cygwin wrote: On 05. 01. 25 7:31, Cedric Blancher via Cygwin wrote: Could Cygwin implement copy_file_range() support, including sparse file support so holes are preserved, and FSCTL_DUPLIC

Re: Cygwin copy_file_range() support with sparse file+FSCTL_DUPLICATE_EXTENTS_TO_FILE?

2025-01-05 Thread Takeshi Nishimura via Cygwin
On Sun, Jan 5, 2025 at 1:06 PM Václav Haisman via Cygwin wrote: > > On 05. 01. 25 7:31, Cedric Blancher via Cygwin wrote: > > Good morning! > > > > Could Cygwin implement copy_file_range() support, including sparse > > file support so holes are preserved, and > > FSCTL_DUPLICATE_EXTENTS_TO_FILE su

Re: Cygwin copy_file_range() support with sparse file+FSCTL_DUPLICATE_EXTENTS_TO_FILE?

2025-01-05 Thread Václav Haisman via Cygwin
On 05. 01. 25 7:31, Cedric Blancher via Cygwin wrote: Good morning! Could Cygwin implement copy_file_range() support, including sparse file support so holes are preserved, and FSCTL_DUPLICATE_EXTENTS_TO_FILE support? In theory, this could be used to implement that function. In practice, the b