Re: Technical reason why 32bit Cygwin cannot be installed on 64bit Windows?

2024-05-18 Thread Cedric Blancher via Cygwin
On Sat, 18 May 2024 at 13:22, Roland Mainz via Cygwin wrote: > > On Fri, May 17, 2024 at 9:48 AM Cedric Blancher via Cygwin > wrote: > > Is there a technical reason why 32bit Cygwin cannot be installed on > > 64bit Windows? We like to create a CI build pipeline, and want t

Re: Technical reason why 32bit Cygwin cannot be installed on 64bit Windows?

2024-05-17 Thread Cedric Blancher via Cygwin
On Fri, 17 May 2024 at 16:50, Brian Inglis via Cygwin wrote: > > On 2024-05-17 01:48, Cedric Blancher via Cygwin wrote: > > Is there a technical reason why 32bit Cygwin cannot be installed on > > 64bit Windows? We like to create a CI build pipeline, and want to > > c

Technical reason why 32bit Cygwin cannot be installed on 64bit Windows?

2024-05-17 Thread Cedric Blancher via Cygwin
Good morning! Is there a technical reason why 32bit Cygwin cannot be installed on 64bit Windows? We like to create a CI build pipeline, and want to create binaries for 32bit and 64bit Cygwin on the same machine, but setup.exe for 32bir Cygwin refuses to install Ced -- Cedric Blancher

Re: /usr/bin/sg in Cygwin?

2024-04-21 Thread Cedric Blancher via Cygwin
On Mon, 22 Apr 2024 at 01:20, Dan Shelton via Cygwin wrote: > > On Sat, 20 Apr 2024 at 07:39, Brian Inglis via Cygwin > wrote: > > > > On 2024-04-19 17:47, Dan Shelton via Cygwin wrote: > > > On Fri, 23 Feb 2024 at 22:25, Dan Shelton wrote: > > >> Is there a package which provides /usr/bin/sg

Re: /usr/bin/sg in Cygwin?

2024-04-21 Thread Cedric Blancher via Cygwin
Good morning! On Sat, 20 Apr 2024 at 07:39, Brian Inglis via Cygwin wrote: > > On 2024-04-19 17:47, Dan Shelton via Cygwin wrote: > > On Fri, 23 Feb 2024 at 22:25, Dan Shelton wrote: > >> Is there a package which provides /usr/bin/sg (execute shell commands > >> in a different group)? > > The

Re: Cygwin file prefetch, block sizes?

2024-04-03 Thread Cedric Blancher via Cygwin
On Wed, 3 Apr 2024 at 10:15, Corinna Vinschen via Cygwin wrote: > > On Apr 3 00:35, 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

Re: Cygwin file prefetch, block sizes?

2024-04-03 Thread Cedric Blancher via Cygwin
On Wed, 3 Apr 2024 at 03:10, Mark Geisert via Cygwin wrote: > > 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

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

Fwd: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-03-28 ...

2024-03-28 Thread Cedric Blancher via Cygwin
Good evening! For your consideration - we need FEEDBACK, please! New is ACL+UNC path (cd //host@port/path1/path2 work in bash and ksh93)+chgrp+nfs:// support, and the NFS server no longer needs the "insecure" export switch. Ced -- Forwarded message - From: Roland Mainz Date:

No Win ACLs for NFS? Re: ACEs and ACLs

2024-03-19 Thread Cedric Blancher via Cygwin
On Mon, 18 Mar 2024 at 15:43, Corinna Vinschen via Cygwin wrote: > > On Mar 18 08:30, J. Terry Corbet via Cygwin wrote: > > Thank you for the greatly needed assistance, but the reference to which you > > have pointed me says that noacl will be ignored in the case of ntfs file > > systems. > > No,

GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-19 Thread Cedric Blancher via Cygwin
Good morning! How does cygwin uname -s work, i.e. how does it get the OS version, revision and build number ('10.0-19045')? I tried to replicate it via GetVersionEx(), but that is deprecated. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem

Re: Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

2024-03-11 Thread Cedric Blancher via Cygwin
On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin wrote: > > Hello! > > I've run into a problem with clang on Cygwin 3.5.1 and 3.6. My machine > does not have much disk space left, so I switched TMPDIR to the > network drive. But clang then failed, like this: > > $ cat x.c > #include > int

Re: Cygwin 3.5.1: unable to open output file '/cygdrive/t/tmpdir/x-01564d.o': 'Operation not permitted'

2024-03-07 Thread Cedric Blancher via Cygwin
On Fri, 8 Mar 2024 at 03:25, Dan Shelton via Cygwin wrote: > > Hello! > > I've run into a problem with clang on Cygwin 3.5.1 and 3.6. My machine > does not have much disk space left, so I switched TMPDIR to the > network drive. But clang then failed, like this: > > $ cat x.c > #include > int

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-03-05 Thread Cedric Blancher via Cygwin
On Mon, 29 Jan 2024 at 10:46, Mark Geisert via Cygwin wrote: > > On 1/28/2024 11:56 PM, Mark Geisert via Cygwin wrote: > > On 1/28/2024 10:44 PM, Cedric Blancher via Cygwin wrote: > >> Good morning! > >> > >> rm -f myfile > >> touch myfile >

Re: Convert a file descriptor from Cygwin openat() to Win32 file HANDLE?

2024-03-05 Thread Cedric Blancher via Cygwin
On Mon, 4 Mar 2024 at 09:35, Andrey Repin wrote: > > Greetings, Cedric Blancher! > > > How can I convert a file descriptor from Cygwin openat() to Win32 file > > HANDLE? > > In general, you should not attempt to do such thing. > If you have a very specific idea in mind, it would be best to

Re: Regression: Cygwin 3.5.1 freezes when launching several mingw processes in parallel

2024-03-04 Thread Cedric Blancher via Cygwin
Same here building gcc with the msnfs41client NFSv4.1 filesystem driver (https://sourceforge.net/p/ms-nfs41-client/mailman/message/58741244/), make -j8 and make -j128 builds now succeed again. Is a Cygwin 3.5.x backport required? Ced On Mon, 4 Mar 2024 at 20:38, Dimitry Andric via Cygwin

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-03-03 Thread Cedric Blancher via Cygwin
On Tue, 27 Feb 2024 at 16:07, Corinna Vinschen via Cygwin wrote: > > On Feb 27 15:41, Cedric Blancher via Cygwin wrote: > > Good afternoon! > > > > How can I get the group SID for a file in cmd.exe (powershell is not an > > option)? > > Is it possible to add

Re: How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-03-03 Thread Cedric Blancher via Cygwin
On Tue, 27 Feb 2024 at 23:27, Bill Stewart via Cygwin wrote: > > On Tue, Feb 27, 2024 at 7:42 AM Cedric Blancher wrote: > > How can I get the group SID for a file in cmd.exe (powershell is not an > > option)? > > > > Why is PowerShell not an option? It's for a test suite written in cmd.exe

Convert a file descriptor from Cygwin openat() to Win32 file HANDLE?

2024-03-03 Thread Cedric Blancher via Cygwin
Good morning! How can I convert a file descriptor from Cygwin openat() to Win32 file HANDLE? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

How can I get the group SID for a file in cmd.exe (powershell is not an option)?

2024-02-27 Thread Cedric Blancher via Cygwin
Good afternoon! How can I get the group SID for a file in cmd.exe (powershell is not an option)? Is it possible to add an option to ls -l to list the user/group SIDs too? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports:

Fwd: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-02-24 ...

2024-02-25 Thread Cedric Blancher via Cygwin
For your consideration - we need FEEDBACK, please! Ced -- Forwarded message - From: Roland Mainz Date: Sat, 24 Feb 2024 at 15:19 Subject: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-02-24 ... To: Hi!

Fwd: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-02-05 ...

2024-02-05 Thread Cedric Blancher via Cygwin
For your consideration - we need FEEDBACK, please! As Cygwin 3.5.0 is now officially out it should be much easier to test. Ced -- Forwarded message - From: Roland Mainz Date: Mon, 5 Feb 2024 at 15:41 Subject: [Ms-nfs41-client-devel] ANN: NFSv4.1 filesystem client Windows driver

Re: /usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-29 Thread Cedric Blancher via Cygwin
On Mon, 29 Jan 2024 at 09:33, Brian Inglis via Cygwin wrote: > > On 2024-01-28 23:44, Cedric Blancher via Cygwin wrote: > > rm -f myfile > > touch myfile > > /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 > > It takes much longer without Cy

/usr/bin/fallocate -v -d -l 2 myfile takes forever

2024-01-28 Thread Cedric Blancher via Cygwin
Good morning! rm -f myfile touch myfile /usr/bin/fallocate -v -d -l myfile takes forever with latest Cygwin 3.5 Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ:

Fwd: [Ms-nfs41-client-devel] NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-01-28 ...

2024-01-28 Thread Cedric Blancher via Cygwin
For your consideration - we need FEEDBACK, please! Ced -- Forwarded message - From: Roland Mainz Date: Sun, 28 Jan 2024 at 23:54 Subject: [Ms-nfs41-client-devel] NFSv4.1 filesystem client Windows driver binaries for Windows 10/11 for testing, 2024-01-28 ... To: Hi!

Source code for bash package?

2024-01-25 Thread Cedric Blancher via Cygwin
Good morning! Where can I find the source code for the Cygwin bash package? Not the bash source itself, I am looking for the data which is used to build the Cygwin bash package. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports:

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-25 Thread Cedric Blancher via Cygwin
On Thu, 25 Jan 2024 at 10:37, Cedric Blancher wrote: > > On Thu, 25 Jan 2024 at 04:53, Mark Geisert via Cygwin > wrote: > > > > On 1/23/2024 4:41 PM, Mark Geisert via Cygwin wrote: > > > On 1/23/2024 3:36 AM, Roland Mainz via Cygwin wrote: > > >> Small bug report: > > >> Cygwin 3.5. now has

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-25 Thread Cedric Blancher via Cygwin
On Thu, 25 Jan 2024 at 04:53, Mark Geisert via Cygwin wrote: > > On 1/23/2024 4:41 PM, Mark Geisert via Cygwin wrote: > > On 1/23/2024 3:36 AM, Roland Mainz via Cygwin wrote: > >> Small bug report: > >> Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but > >> /usr/bin/fallocate is still

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Cedric Blancher via Cygwin
On Wed, 24 Jan 2024 at 07:33, Cedric Blancher wrote: > > On Tue, 23 Jan 2024 at 12:37, Roland Mainz via Cygwin > wrote: > > > > Hi! > > > > - > > > > Small bug report: > > Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but > > /usr/bin/fallocate is still missing in the

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-23 Thread Cedric Blancher via Cygwin
On Tue, 23 Jan 2024 at 12:37, Roland Mainz via Cygwin wrote: > > Hi! > > - > > Small bug report: > Cygwin 3.5. now has support for SEEK_HOLE (thanks! :-) ), but > /usr/bin/fallocate is still missing in the "util-linux" package. > > Can someone please enable that tool ? Good catch! @Corinna

Package request: ms-nfs41-client

2024-01-17 Thread Cedric Blancher via Cygwin
Good morning! Could Cygwin package the ms-nfs41-client (NFSv4 client with Cygwin support), please? Ced -- Forwarded message - From: Roland Mainz Date: Mon, 1 Jan 2024 at 22:47 Subject: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries for Windows 10/11 for testing,

Cygwin support for btime/birth time? Fwd: [PATCH 0/5] fuse: support birth time

2024-01-15 Thread Cedric Blancher via Cygwin
Good evening! Does Cygwin support the btime/birth time? Ced -- Forwarded message - From: Miklos Szeredi Date: Thu, 10 Aug 2023 at 14:19 Subject: [PATCH 0/5] fuse: support birth time To: Add the infrastructure for btime support in the form of a new STATX request. The format

Re: Cygwin tools to read/write NTFS alternate data streams?

2024-01-12 Thread Cedric Blancher via Cygwin
On Thu, 11 Jan 2024 at 17:41, Corinna Vinschen via Cygwin wrote: > > On Jan 11 15:00, Martin Wege via Cygwin wrote: > > On Mon, Jan 8, 2024 at 3:11 PM Corinna Vinschen via Cygwin > > wrote: > > so this is IMO OK. > > Yeah, but... > > It's not just an open flag, it requires extending

Re: Qemu packages for Cygwin?

2024-01-03 Thread Cedric Blancher via Cygwin
On Mon, 18 Dec 2023 at 18:33, Brian Inglis via Cygwin wrote: > > On 2023-12-18 00:14, Dan Shelton via Cygwin wrote: > > On Mon, 18 Dec 2023 at 07:54, Marco Atzeri via Cygwin wrote: > >> On 18/12/2023 07:42, Dan Shelton via Cygwin wrote: > >>> Does Cygwin come with qemu packages? > > >> why should

Package request: ytdl-org/youtube-dl

2024-01-01 Thread Cedric Blancher via Cygwin
Good morning! I'd like to request https://github.com/ytdl-org/youtube-dl as a Cygwin package, so we can mirror training videos locally. Also, it is a cool demo to show the power of Cygwin, to show that it can download youtube videos without paying for "Youtube Premium" =:-) Ced -- Cedric

Fwd: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries for Windows 10/11 for testing, 2024-01-01 ...

2024-01-01 Thread Cedric Blancher via Cygwin
For your consideration - we need FEEDBACK, please! Ced -- Forwarded message - From: Roland Mainz Date: Mon, 1 Jan 2024 at 22:47 Subject: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries for Windows 10/11 for testing, 2024-01-01 ... To: Hi! I've created a

Fwd: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries for Windows 10 for testing, 2023-12-30 ...

2023-12-30 Thread Cedric Blancher via Cygwin
For your consideration - we need FEEDBACK, please! Ced -- Forwarded message - From: Roland Mainz Date: Sat, 30 Dec 2023 at 16:34 Subject: [Ms-nfs41-client-devel] ANN: NFSv4.1 Windows driver binaries for Windows 10 for testing, 2023-12-30 ... To: Hi! I've created a set

Re: rfe: CYGWIN fslinktypes option? Re: Catastrophic Cygwin find . -ls, grep performance on samba share compared to WSL

2023-12-21 Thread Cedric Blancher via Cygwin
On Thu, 21 Dec 2023 at 13:17, Martin Wege via Cygwin wrote: > > On Wed, Dec 20, 2023 at 6:21 PM Kaz Kylheku via Cygwin > wrote: > > > > On 2023-12-17 22:22, Dan Shelton via Cygwin wrote: > > > It would be nice if someone from the Cygwin authors could assist me in > > > figuring out why this

Re: Cygwin generates syscalls for *.lnk files on filesystems with native symlink support?

2023-12-18 Thread Cedric Blancher via Cygwin
On Fri, 1 Sept 2023 at 13:00, Corinna Vinschen via Cygwin wrote: > > On Sep 1 06:23, Cedric Blancher via Cygwin wrote: > > Good morning! > > > > During a Cygwin 3.4.8-1.x86_64 debugging session I noticed something > > odd when I looked at the network traffic gener

Re: BugZilla for Cygwin, PLEASE!

2023-12-18 Thread Cedric Blancher via Cygwin
On Mon, 18 Dec 2023 at 07:58, Marco Atzeri via Cygwin wrote: > > On 18/12/2023 07:45, Dan Shelton via Cygwin wrote: > > Hello! > > > > I don't see whether this has been discussed before, > > but PLEASE could Cygwin get a bug tracker (BUGZILLA!)? > > > > Dan > > https://cygwin.com/acronyms/#SHTDI

Re: Sparse file support for SMB by default? Re: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-18 Thread Cedric Blancher via Cygwin
On Wed, 6 Dec 2023 at 10:39, Corinna Vinschen via Cygwin wrote: > > On Dec 6 09:49, Cedric Blancher via Cygwin wrote: > > On Fri, 1 Dec 2023 at 11:43, Corinna Vinschen via Cygwin > > VMware emulates NVME SSD these days, so this should work, yes? > > It doesn't matter,

Custom package repository in addition to default Cygwin packages?

2023-12-18 Thread Cedric Blancher via Cygwin
Good morning! Can Cygwin setup.exe be modified to support more than one package repository, e.g. first the default Cygwin package repro, and then a company package repro (e.g. fr.pasteur.cygwin.packages ?). Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur

Sparse file support for SMB by default? Re: Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-06 Thread Cedric Blancher via Cygwin
On Fri, 1 Dec 2023 at 11:43, Corinna Vinschen via Cygwin wrote: > > On Dec 1 11:12, Cedric Blancher via Cygwin wrote: > > Good morning! > > > > Small comment about 3.5.0 commit "Cygwin: sparse support: enable > > automatic sparsifying of files on SSDs&qu

Maximum path and path element length, Win32 vs Cygwin vs SFU?

2023-12-03 Thread Cedric Blancher via Cygwin
Good evening! What is the maximum path length and path element (single file, dirname length) in Win32 API, Cygwin APIs on Windows 11, and SFU on Win7? There seems to be some confusion, docs cite 256, 260 and 32k, and getconf PATH_MAX / returns 4096. What is the maximum supported in the Win32

_PC_MIN_HOLE_SIZE pathconf() Re: Cygwin api to punch a hole into a file?

2023-12-01 Thread Cedric Blancher via Cygwin
On Tue, 28 Nov 2023 at 11:30, Corinna Vinschen via Cygwin wrote: > > On Nov 24 12:01, Corinna Vinschen via Cygwin wrote: > > On Nov 23 23:36, Cedric Blancher via Cygwin wrote: > > > Linux has fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, ...) > > > to

Re: Cygwin api to punch a hole into a file?

2023-12-01 Thread Cedric Blancher via Cygwin
On Tue, 28 Nov 2023 at 11:30, Corinna Vinschen via Cygwin wrote: > > On Nov 24 12:01, Corinna Vinschen via Cygwin wrote: > > On Nov 23 23:36, Cedric Blancher via Cygwin wrote: > > > Linux has fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, ...) > > > to

Comment about "Cygwin: sparse support: enable automatic sparsifying of files on SSDs", extend feature to VMware/qemu disks?

2023-12-01 Thread Cedric Blancher via Cygwin
Good morning! Small comment about 3.5.0 commit "Cygwin: sparse support: enable automatic sparsifying of files on SSDs" https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=832e91422c4ae9b2dcd0c307779f3dd53ee9c0ac Can this functionality be extended to VMware and QEMU virtual disks, please?

Cygwin api to punch a hole into a file?

2023-11-23 Thread Cedric Blancher via Cygwin
Linux has fallocate(fd, FALLOC_FL_PUNCH_HOLE|FALLOC_FL_KEEP_SIZE, ...) to punch a hole into a file, i.e. deallocate the blocks given and make the file a "sparse file". But how can I do that with the Cygwin API? Does anyone have an example for Cygwin, which is the Win equivalent to Linux

Re: Capturing a Cygwin instance from another PC

2023-11-22 Thread Cedric Blancher via Cygwin
On Wed, 22 Nov 2023 at 17:15, Eliot Moss via Cygwin wrote: > > On 11/22/2023 10:43 AM, Bill Stewart via Cygwin wrote: > > On Wed, Nov 22, 2023 at 7:53 AM Jose Isaias Cabrera wrote: > > > > I have a new Win11 PC, and I wanted to capture the same Cygwin setup that I > >> have in another Win10 PC. I

Set localisation locale of Windows netstat?

2023-11-22 Thread Cedric Blancher via Cygwin
Good morning! How can I set the localisation locale of Windows netstat cmd from Cygwin? LC_ALL=C does not help, a French or German Windows will use French or German language still Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports:

Re: binfmt support in Cygwin?

2023-11-22 Thread Cedric Blancher via Cygwin
On Tue, 26 Sept 2023 at 07:15, Cedric Blancher wrote: > > Good morning! > > Does Cygwin support something like Linux binfmt, to register new binary types? > > Goal would be to recognise python compiled code, or > https://wiki.debian.org/QemuUserEmulation ? Ced -- Cedric Blancher

Qt6 in Cygwin?

2023-10-14 Thread Cedric Blancher via Cygwin
Good afternoon Are there Qt6 - https://www.qt.io/product/qt6 - packages for Cygwin available? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Re: Run a Cygwin process with "higher" scheduler priority

2023-10-14 Thread Cedric Blancher via Cygwin
On Fri, 11 Aug 2023 at 19:14, Brian Inglis wrote: > > On 2023-08-11 09:44, Cedric Blancher via Cygwin wrote: > > How can we set the scheduler priority for a Cygwin process to "higher" > > than normal on start? > > > > Basically we want a Cygwin compatibl

ConvertStringSidToSidA("S-1-22-1-1", ) fails with invalid sid for Unix_User+1

2023-10-03 Thread Cedric Blancher via Cygwin
Good afternoon! I tried a simple three line hello world program, which tries to get the SID for Unix_User+1: bash -c 'getent passwd "Unix_User+1"' Unix_User+1:*:4278190081:4278190081:U-Unix_User\1,S-1-22-1-1:/:/sbin/nologin But putting "S-1-22-1-1" into ConvertStringSidToSidA("S-1-22-1-1", )

Re: Cygwin gdb to load debug into from Windows VC?

2023-10-03 Thread Cedric Blancher via Cygwin
On Tue, 26 Sept 2023 at 06:39, Cedric Blancher wrote: > > Good morning! > > Is it possible to load Visual Studio (VC19, VC22) debug info (*.pdb > files) into Cygwin gdb? Anyone? Or can VC19/VC22 create DWARF debug data? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/]

Cygwin 3.5 bug? /usr/bin/ls.exe -l and Windows dir /q disagree about file owner names

2023-10-03 Thread Cedric Blancher via Cygwin
Good afternoon! Likely question for Lady Corinna: Can anyone please explain why Windows dir command and Cygwin ls -l list different owners for a file? The directory has two files, one owned by root (without mapping to Windows, so getting a NULL SID) and one owned by me (user cedrictest17) Is

Cygwin bash package data?

2023-10-01 Thread Cedric Blancher via Cygwin
Good morning! Where (URL!!) can I find the package config for the Cygwin bash package? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

binfmt support in Cygwin?

2023-09-25 Thread Cedric Blancher via Cygwin
Good morning! Does Cygwin support something like Linux binfmt, to register new binary types? Goal would be to recognise python compiled code, or https://wiki.debian.org/QemuUserEmulation Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem

Re: Cygwin generates syscalls for *.lnk files on filesystems with native symlink support?

2023-09-25 Thread Cedric Blancher via Cygwin
On Fri, 1 Sept 2023 at 13:00, Corinna Vinschen via Cygwin wrote: > > On Sep 1 06:23, Cedric Blancher via Cygwin wrote: > > Good morning! > > > > During a Cygwin 3.4.8-1.x86_64 debugging session I noticed something > > odd when I looked at the network traffic gener

Cygwin gdb to load debug into from Windows VC?

2023-09-25 Thread Cedric Blancher via Cygwin
Good morning! Is it possible to load Visual Studio (VC19, VC22) debug info (*.pdb files) into Cygwin gdb? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: NFS mkfifo support in cygwin 3.5.0 Re: [ANNOUNCEMENT] cygwin 3.4.9-1

2023-09-07 Thread Cedric Blancher via Cygwin
On Thu, 7 Sept 2023 at 23:20, Martin Wege via Cygwin wrote: > > On Wed, Sep 6, 2023 at 5:27 PM Corinna Vinschen via Cygwin-announce > via Cygwin wrote: > > > > The following packages have been uploaded to the Cygwin distribution: > > > > * cygwin-3.4.9-1 > > * cygwin-devel-3.4.9-1 > > *

Cygwin generates syscalls for *.lnk files on filesystems with native symlink support?

2023-08-31 Thread Cedric Blancher via Cygwin
Good morning! During a Cygwin 3.4.8-1.x86_64 debugging session I noticed something odd when I looked at the network traffic generated by one of our cluster nodes: It seems that for each call to a tool (i.e. starting "sed" from "bash") Cygwin searches for *.lnk files. Is this correct even when

Re: Documenting Cygwin on NFS, no longer only exchange-medium! Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a d

2023-08-27 Thread Cedric Blancher via Cygwin
On Sun, 27 Aug 2023 at 14:35, Corinna Vinschen via Cygwin wrote: > > On Aug 26 19:44, Martin Wege via Cygwin wrote: > > On Fri, Aug 25, 2023 at 2:19 PM Corinna Vinschen via Cygwin > > wrote: > > > > > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > > Note that Cygwin does not interpret

Re: process substitution to create a virtual file doesn't work in chroot environment

2023-08-27 Thread Cedric Blancher via Cygwin
On Mon, 28 Aug 2023 at 00:14, Cary Lewis via Cygwin wrote: > > In a cygwin process that is started either from mintty or bash directly the > following: > > $ user=234 > > $ ./cat <(echo $user) > 234 > works as expected. > > But after a chroot: > > $ chroot . ./bash > user=234 > $ ./cat <(echo

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Cedric Blancher via Cygwin
On Fri, 25 Aug 2023 at 17:15, Roland Mainz via Cygwin wrote: > > On Fri, Aug 25, 2023 at 2:18 PM Corinna Vinschen via Cygwin > wrote: > > > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > Note that Cygwin does not interpret the file |myfifo.fifo| as FIFO, > > > instead it comes back as a

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-26 Thread Cedric Blancher via Cygwin
On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin wrote: > > On Aug 25 14:18, Corinna Vinschen via Cygwin wrote: > > On Aug 23 01:05, Roland Mainz via Cygwin wrote: > > > 2. Check whether the filesystem for the fifos path is NFS > > > (cgywin.dll's |fs.fs_is_nfs()|), and then just refuse

Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was: Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-24 Thread Cedric Blancher via Cygwin
On Thu, 24 Aug 2023 at 18:45, Martin Wege via Cygwin wrote: > > On Wed, Aug 23, 2023 at 1:06 AM Roland Mainz via Cygwin > wrote: > > > > On Tue, Aug 22, 2023 at 4:52 PM Lavrentiev, Anton (NIH/NLM/NCBI) [C] > > via Cygwin wrote: > > > > FIFOs which don't make *any* sense > > > > ... FWIW, a

Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-23 Thread Cedric Blancher via Cygwin
On Wed, 23 Aug 2023 at 17:44, Jeffrey Altman via Cygwin wrote: > > On 8/22/2023 10:52 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin > wrote: > >> FIFOs which don't make *any* sense > >> ... FWIW, a remote NFS fileystem. > > I got an impression that the OP is trying to deploy something

Cygwin testing coverage with MSFT NFSv3?

2023-08-20 Thread Cedric Blancher via Cygwin
Good morning! Is Cygwin tested with NFSv3 shares on a regular basis, maybe CI? For example install Cygwin, then build all Cygwin software packages on a NFS share, instead of NTFS? Also, is there a script to checkout the sources of Cygwin software packages, and then build the software packages?

Re: [ANNOUNCEMENT] cygwin 3.4.8-1

2023-08-20 Thread Cedric Blancher via Cygwin
On Thu, 17 Aug 2023 at 20:02, Corinna Vinschen via Cygwin-announce via Cygwin wrote: > > The following packages have been uploaded to the Cygwin distribution: > > * cygwin-3.4.8-1 > * cygwin-devel-3.4.8-1 > * cygwin-doc-3.4.8-1 > > Bug Fixes > - > > - Make safe for c89 compilations. >

Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory

2023-08-20 Thread Cedric Blancher via Cygwin
On Fri, 18 Aug 2023 at 10:35, Corinna Vinschen via Cygwin wrote: > > On Aug 18 06:02, Martin Wege via Cygwin wrote: > > On Mon, Aug 7, 2023 at 4:42 PM Martin Wege wrote: > > > > > > Hello, > > > > > > We get a weird mkfifo failure in Cygwin on NTFS: > > > > > > /usr/bin/mkfifo -m 600 x.fifo > >

Mount Windows share for all users?

2023-08-17 Thread Cedric Blancher via Cygwin
Good evening! Can I mount a Windows share (CIFS, builtin Windows, ms-nfsv41, ...) at Windows 10 system boot time, so all users (and Cygwin sessions) can use it? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports:

Persistent and same Cygwin session for Windows login and ssh login?

2023-08-17 Thread Cedric Blancher via Cygwin
Good evening! How can I get a Cygwin session for one Windows login, and get the same Cygwin session when I log into the same Windows machine via ssh? Also, where does Cygwin store session information? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur --

openldap server package?

2023-08-15 Thread Cedric Blancher via Cygwin
Good afternoon! Does Cygwin has an openldap server package? So far I could only find the client libraries and tool, but not the slapd server. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: lsof for Windows processes?

2023-08-12 Thread Cedric Blancher via Cygwin
Good afternoon! On Fri, 11 Aug 2023 at 18:21, Brian Inglis wrote: > > On 2023-08-11 09:45, Cedric Blancher via Cygwin wrote: > > Does Cygwin have a tool like lsof which can list which files or > > directories are in use by a Windows process? > > You can check the

lsof for Windows processes?

2023-08-11 Thread Cedric Blancher via Cygwin
Good evening! Does Cygwin have a tool like lsof which can list which files or directories are in use by a Windows process? Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ:

Run a Cygwin process with "higher" scheduler priority

2023-08-11 Thread Cedric Blancher via Cygwin
Good evening! How can we set the scheduler priority for a Cygwin process to "higher" than normal on start? Basically we want a Cygwin compatible script version of the Windows task manager feature Name/PID--->Details--->Set priority--->Higher Ced -- Cedric Blancher

Re: how to set mount posix=1 option for an existing bind mount?

2023-08-11 Thread Cedric Blancher via Cygwin
On Tue, 8 Aug 2023 at 20:53, Corinna Vinschen wrote: > > On Aug 8 16:52, Cedric Blancher via Cygwin wrote: > > Good afternoon! > > > > How do I set mount posix=1 option for an existing bind mount? mount -o > > remount does not work. > > Did you read https:/

how to set mount posix=1 option for an existing bind mount?

2023-08-08 Thread Cedric Blancher via Cygwin
Good afternoon! How do I set mount posix=1 option for an existing bind mount? mount -o remount does not work. Ced -- Cedric Blancher [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Kernel stack trace for Winows 10 blue screen when running Cygwin?

2023-08-07 Thread Cedric Blancher via Cygwin
On Mon, 7 Aug 2023 at 11:55, Corinna Vinschen wrote: > > On Aug 7 11:29, Cedric Blancher via Cygwin wrote: > > Forwarding to cygwin@cygwin.com > > > > Honestly I find it deeply concerning that a plain, unprivileged user > > can Bluescreen a machine, and more so

Fwd: Kernel stack trace for Winows 10 blue screen when running Cygwin?

2023-08-07 Thread Cedric Blancher via Cygwin
Forwarding to cygwin@cygwin.com Honestly I find it deeply concerning that a plain, unprivileged user can Bluescreen a machine, and more so that it happens during normal Cygwin usage. Ced -- Forwarded message - From: Cedric Blancher Date: Sun, 6 Aug 2023 at 23:56 Subject: Kernel