From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 76C1D3858C2C for ; Sat, 26 Aug 2023 19:16:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 76C1D3858C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTP id ZskyqGGGyLAoIZylqq7YaM; Sat, 26 Aug 2023 19:16:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1693077390; bh=oC40A14m352Tj263stDi9e/82OSGdo5W1qPbuudyqwk=; h=Date:Reply-To:Subject:To:Cc:References:From:In-Reply-To; b=fHenPgo6zB2lHVthfHlI/EnM8o05TxNp7XBzaIB88R7uIf18HFEvXLizARSzFHZq1 96tG7KO51gZmYltd49yowZewLFJfB02CfVgIjuUv3xe3kd/kKnC655WfmEeexcuayG vT45Zg0bjkq8w1H3AyMR4oI02Z6N1pgb+ugbbf5xY4yRldj0FmnGwnX8+/hNWuc2Rb Ur/89pd12S+ZkhufjxBtIEpU2J9WiprmiSjNYXIuO25gv88yUlPiJQwEr19boA+e/k ZC5tr7AERO1sE4BGFoJKieCYcDqYK0WGELkahoNIeCd37fdcgv/2QDtM7pzDFJdjNZ 99OdenmYMtdXg== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id Zylpq4xFjHFsOZylpqBOsP; Sat, 26 Aug 2023 19:16:30 +0000 X-Authority-Analysis: v=2.4 cv=XZqaca15 c=1 sm=1 tr=0 ts=64ea4f8e a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 a=BmpLrwxSzar-2oBH:21 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=mR-MWC28Crtyw1Y6AG4A:9 a=QEXdDO2ut3YA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=YMADb9T66WxYH-XZSZMu:22 Message-ID: <376806b2-4228-085b-b45e-a48fd443ae0d@Shaw.ca> Date: Sat, 26 Aug 2023 13:16:29 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Reply-To: cygwin@cygwin.com Subject: 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 directory Content-Language: en-CA To: cygwin@cygwin.com Cc: Martin Wege References: From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfOvOC2/jqpSZ47jPXWGPivEqw+kz//609ZGLVYz9LW1oEUlLIWXPCCokXH1UzDT+CfMClxLmY5Tv0WLt0Fjy8yNgGPizKXzZiY2wONUjEAb5jyPZeJlt BEmafEHmAhDbK+gfX82zCZBGjOrwjgzPMz1g/mY44E2kUHZFf16eBjpMgC1TALfqHgX/LELQ126JAxvL6lZU1bgp+kgg9RHUr6/WMRmmI0HHxxch4OHNxsvr X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,PLING_QUERY,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-08-26 11: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 the file |myfifo.fifo| as FIFO, >>> instead it comes back as a symlink "myfifo.fifo -> ':\0:c4:1000'". >>> >>> AFAIK there are (at least) these two options to fix the problems: >>> 1. Check whether the filesystem for the fifos path is NFS >>> (cgywin.dll's |fs.fs_is_nfs()|), and if it is a symlink check if it >>> starts with ':\0:c4:' (assuming "c4" is the prefix for inodes created >>> with |mkfifo()|). If this condition is |true|, then cygwin |stat()|, >>> |open()| etc. should treat this inode as FIFO. >> >> The downside is that it is not possible to diffentiate between Cygwin >> FIFOs and real FIFOs created from the remote side in `ls -l' >> output. Note that Cygwin returns the NFS stat info verbatim, so >> a real FIFO is returned as a real FIFO: >> >> linux$ mkfifo bar >> cygwin$ ls -l bar >> prw-r--r-- 1 corinna vinschen 0 Aug 25 13:58 bar >> >> The idea was always to use NFS as exchange medium, but not as >> installation medium for the entire distro or to keep Cygwin home >> dirs on NFS. There were times where NFS was pretty unstable. >> I used NFS for quite some time to build Cygwin packages, but at one >> point I got trouble (performance problems with multiple concurrent >> processes accessing an NFS share, build errors out of the blue), >> so I switched to Samba shares, albeit grudgingly. I'm not yet >> sure if the problems are fixed. At least a recent OpenSSH build >> ran through without problems... > > Corinna, could you please update the Cygwin documentation then? We use > NFS, both Windows builtin and CITI NFSv4.1, with Cygwin for years > without major problems, so that comment about exchange-medium-only is > clearly wrong! Feel free to submit doc patches if you feel there is a lack. We are all volunteers here - and that includes you! -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry