Re: Cygwin file prefetch, block sizes?

2024-04-02 Thread Cedric Blancher via Cygwin
On Wed, 3 Apr 2024 at 00:36, Martin Wege via Cygwin wrote: > > On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin > wrote: > > > > On Apr 2 02:04, Martin Wege via Cygwin wrote: > > > Hello, > > > > > > Is there any document which describes how Cygwin and Win32 file > > > prefetch and

Re: cygwin utils can access directory and its contents, but W10 utils claim to have no access, why?

2024-04-02 Thread John Ruckstuhl via Cygwin
On Mon, Jan 22, 2024 at 10:59 AM John Ruckstuhl wrote: > > Thanks for the replies Brian & Corinna, I learned a lot. > > On Mon, Jan 22, 2024 at 1:48 AM Corinna Vinschen > wrote: > > Users in the Administrators group have these privileges in their user > > token. Under UAC, both privileges are

Implementing /bin/ionice, ioprio_set() support with FILE_IO_PRIORITY_HINT_INFO?

2024-04-02 Thread Martin Wege via Cygwin
Hello, could Cygwin implement support for /usr/bin/ionice and ioprio_set() via FILE_IO_PRIORITY_HINT_INFO? So basically implement ioprio_set() to store the value per process, and for each file open() call this: FILE_IO_PRIORITY_HINT_INFO priorityHint={0}; priorityHint.PriorityHint =

Re: Cygwin file prefetch, block sizes?

2024-04-02 Thread Mark Geisert via Cygwin
On 4/2/2024 3:35 PM, Martin Wege via Cygwin wrote: On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin wrote: On Apr 2 02:04, Martin Wege via Cygwin wrote: Hello, Is there any document which describes how Cygwin and Win32 file prefetch and readahead work, and which sizes are used

Re: Cygwin file prefetch, block sizes?

2024-04-02 Thread Martin Wege via Cygwin
On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin wrote: > > On Apr 2 02:04, Martin Wege via Cygwin wrote: > > Hello, > > > > Is there any document which describes how Cygwin and Win32 file > > prefetch and readahead work, and which sizes are used (e.g. always > > read one full page

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 08:38, Bruce Jerrick via Cygwin wrote: > 'xargs' is back to working with cygwin-3.6.0-0.109.ga0a25849f9dd . > > Thanks for the quick fix! > -- Bruce Thanks for the report and testing! Corinna -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Christian Franke via Cygwin
Christian Franke via Cygwin wrote: ,,, BTW, according to the Linux kernel sources, BLKPBSZGET etc return 'unsigned int' and not 'unsigned long' since first appearance in 2.6.32-rc3 (2009?): https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/ioctl.c#L276

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Christian Franke via Cygwin
Bruce Jerrick via Cygwin wrote: Downgrading to util-linux-2.33.3-3 does not help. The related code differs, but has the same problem. I take that back. The above should read "util-linux-2.33.1-3". But it was OK in util-linux-2.33.1-3 . Yes, this is correct. I possibly downgraded

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Bruce Jerrick via Cygwin
'xargs' is back to working with cygwin-3.6.0-0.109.ga0a25849f9dd . Thanks for the quick fix! -- Bruce -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info:

Re: Python 3.5 and 3.6 removal (was Re: Bonfire of the Packages)

2024-04-02 Thread Takashi Yano via Cygwin-apps
On Tue, 2 Apr 2024 15:38:25 +0100 Jon Turney wrote: > On 01/04/2024 18:16, David Rothenberger via Cygwin-apps wrote: > > On 3/30/2024 8:25 AM, Jon Turney wrote: > >> On 29/03/2024 18:32, David Rothenberger via Cygwin-apps wrote: > >>> On 3/28/2024 10:50 AM, Jon Turney via Cygwin-apps wrote: > >>

Re: Python 3.5 and 3.6 removal (was Re: Bonfire of the Packages)

2024-04-02 Thread Jon Turney via Cygwin-apps
On 01/04/2024 18:16, David Rothenberger via Cygwin-apps wrote: On 3/30/2024 8:25 AM, Jon Turney wrote: On 29/03/2024 18:32, David Rothenberger via Cygwin-apps wrote: On 3/28/2024 10:50 AM, Jon Turney via Cygwin-apps wrote: [...] David, Is it possible to update/rebuild rdiff-backup, which

Re: Cygwin file prefetch, block sizes?

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 02:04, Martin Wege via Cygwin wrote: > Hello, > > Is there any document which describes how Cygwin and Win32 file > prefetch and readahead work, and which sizes are used (e.g. always > read one full page even if only 16 bytes are requested?)? I'm not aware of any docs, but again, keep

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 12:44, Corinna Vinschen via Cygwin wrote: > On Apr 2 01:42, Bruce Jerrick via Cygwin wrote: > > I just did binary-search regression tests on the available > > old test versions, and found this: > > > > OK:  cygwin-3.6.0-0.86.gbfe2790e7bc4.tar.xz > > BAD:

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Bruce Jerrick via Cygwin
> Downgrading to util-linux-2.33.3-3 does not help. The related code > differs, but has the same problem. But it was OK in util-linux-2.33.1-3 .  The only difference in output between that and the fixed 2.39.3-2 is that the latter includes one more decimal place in the reported "human" sizes

SDL2 2.30.2-1

2024-04-02 Thread Takashi Yano via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution: * libSDL2_2.0_0-2.30.2-1 * libSDL2-devel-2.30.2-1 This is the Simple DirectMedia Layer, a general API that provides low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D framebuffer across

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Corinna Vinschen via Cygwin
On Apr 2 01:42, Bruce Jerrick via Cygwin wrote: > I just did binary-search regression tests on the available > old test versions, and found this: > > OK:  cygwin-3.6.0-0.86.gbfe2790e7bc4.tar.xz > BAD: cygwin-3.6.0-0.92.g8bd6ba8f16ec.tar.xz Thanks, I found the offending patch, but I have to

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Christian Franke via Cygwin
Hi Mark, Mark Geisert via Cygwin wrote: Hi Christian, On 3/31/2024 1:11 AM, Christian Franke via Cygwin wrote: Testcase: # cygcheck -f /sbin/fdisk.exe util-linux-2.39.3-1 # /sbin/fdisk.exe -l /dev/sdd Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512

Updated: util-linux 2.39.3-2

2024-04-02 Thread Mark Geisert
The following packages have been uploaded to the Cygwin distribution: * util-linux-2.39.3-2 * util-linux-debuginfo-2.39.3-2 * libblkid-devel-2.39.3-2 * libblkid1-2.39.3-2 * libfdisk-devel-2.39.3-2 * libfdisk1-2.39.3-2 * libsmartcols-devel-2.39.3-2 * libsmartcols1-2.39.3-2 *

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Mark Geisert via Cygwin
Hi Christian, On 3/31/2024 1:11 AM, Christian Franke via Cygwin wrote: Testcase: # cygcheck -f /sbin/fdisk.exe util-linux-2.39.3-1 # /sbin/fdisk.exe -l /dev/sdd Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Bruce Jerrick via Cygwin
I just did binary-search regression tests on the available old test versions, and found this: OK:  cygwin-3.6.0-0.86.gbfe2790e7bc4.tar.xz BAD: cygwin-3.6.0-0.92.g8bd6ba8f16ec.tar.xz - Bruce -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Bruce Jerrick via Cygwin
Sorry, I missed the xargs.strace file; it's included as an attachment. --- Process 7020 created --- Process 7020 loaded C:\Windows\System32\ntdll.dll at 7ff99e03 --- Process 7020 loaded C:\Windows\System32\kernel32.dll at 7ff99ca4 --- Process 7020 loaded

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Bruce Jerrick via Cygwin
No need for attachments, the results are simply the same failure: > Could you please try running: > ...   $ xargs -t --show-limits < /dev/null   xargs: Unexpected suffix cmdline on cmdline > and it would be useful if you could run a failing command under strace e.g. > ...   $ strace -o

Re: xargs completely broken under cygwin 3.6.0-0.108.gb7f5a33200a9

2024-04-02 Thread Brian Inglis via Cygwin
On 2024-04-01 21:36, Bruce Jerrick via Cygwin wrote: 'xargs' (part of 'findutils') is completely broken if   3.6.0-0.108.gb7f5a33200a9 (test version) is installed: ^ Cygwin   $ xargs   xargs: Unexpected suffix cmdline on cmdline   $ xargs --version   xargs: Unexpected suffix cmdline