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

Lavrentiev, Anton (NIH/NLM/NCBI) [C]
Sat Aug 26 14:39:57 GMT 2023

> You don't seem to understand the problem.  

I think I do, and that aligns with your explanation how Cygwin machinery works to fake the FIFOs.

> If I can recognize a file as FIFO, I can use it as FIFO, regardless if it's a native FIFO or a Cygwin FIFO.

That's exactly what I meant!

> Show me how to create a FIFO on NTFS or FAT by OS calls only, please.
> Again, there is no API to create native FIFOs on a remote NFS filesystem.

And because of the above, Cygwin can keep creating FIFOs as before, on any filesystem.

Anton Lavrentiev
Contractor NIH/NLM/NCBI

More information about the Cygwin mailing list