delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 5A86A3858C5E |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1693200977; | |
bh=QIrDp50NxoAZJN1IEMxTSO8F9UtGWw5ouEQTgKY5X64=; | |
h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: | |
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: | |
From:Reply-To:From; | |
b=GXxgtbQDR24xx0zMtnx6wXE5nLLVwAAwdjfBboqVHJM/2GiyoEoMf4zme8AyWhvuq | |
SdxEFTtOtJqtg2ibHUiojNY4y/qv72LY+lSBGsLmFi0xkg23/FWeYGfexr+F9XHeX0 | |
eA5B4EGJpyGdlYg4eQ9VNnjXkWg6R135aGXuCXZw= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org CBF6A3858D28 |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20221208; t=1693200955; x=1693805755; | |
h=content-transfer-encoding:cc:to:subject:message-id:date:from | |
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc | |
:subject:date:message-id:reply-to; | |
bh=vTFe/bcKRhZkEmMwVcu+Mp+j9CztdquIyvIAkubJ9fU=; | |
b=S1nc4unfxa2A/MB6YDthf4vlZtogWOLnPTQnfcxSkfPUArUmN9UEF9+UIAcujFdbkL | |
AK1ShhNVou2w7kq8R4D9oE11AGMTdAj6OVezfH/0PcWo/4X0rnpnyjzbHGQ+972ENayv | |
fewl9gXda6qvwB6Z+1lfrCTo0dqaMcGJi6sAS7Lbc+ngNdS2X3eqtiOMWnGMXaVUt29G | |
T6EMzpKJshuXyRwOhQn+lkqbjCL/JuktzNCpk/DmZQzAzWks3ZBDK9QjleGphFUtglU/ | |
L1GhAQrRUGHPMF9MoNCUa1Ae1puaX/mD90EEeOaOkuzjMTkGVHMW+hEyXuq9e7V451PX | |
GfoA== | |
X-Gm-Message-State: | AOJu0YzDZv3q4p3Z89RNeINjc5VVnuTDbmN4CbXsN59DK+AuGzwyAQt0 |
w+YsVm1nYK+hciHfBNNsbdVVcvlpI3N8BbbNc1BEZZshFYZUWQ== | |
X-Google-Smtp-Source: | AGHT+IEd9sO61CKUZOpXdvjmoy7rZrtZgGb4rF6BO05eSop9beyirT+1qbtXznb/Va9GwxaL/1pwCx6SsOm3onxcLAk= |
X-Received: | by 2002:a50:fa87:0:b0:525:8124:20fe with SMTP id |
w7-20020a50fa87000000b00525812420femr28630761edr.18.1693200955145; Sun, 27 | |
Aug 2023 22:35:55 -0700 (PDT) | |
MIME-Version: | 1.0 |
References: | <CANH4o6O-8O-iMaHowDuy0y7H=pVfZ-3EvubDmTdjGVSST8FkAQ AT mail DOT gmail DOT com> |
<CANH4o6MnH7gWj7d0vmkhCL5N0BTbkrbtGZGtso43MVZBJLBGtw AT mail DOT gmail DOT com> | |
<ZN8tK/mATx6KbQWk AT calimero DOT vinschen DOT de> | |
<CALXu0UcByeJHfBWSPEZkmfMqSKkmRT_5ZkxLc25EyhJzN9FUtA AT mail DOT gmail DOT com> | |
<ZOMiYcQfb7i8Kc8i AT calimero DOT vinschen DOT de> | |
<DM8PR09MB70950FABA8C4DAD80B0EA189A51FA AT DM8PR09MB7095 DOT namprd09 DOT prod DOT outlook DOT com> | |
<CAKAoaQkPovkZhVVnkDB3wXKdHejqwKmG7vG38rfy2rtjsGV-uQ AT mail DOT gmail DOT com> | |
<ZOicD/nxECrAPnKV AT calimero DOT vinschen DOT de> | |
<CANH4o6Mo3yTteiQejaEaVnUQrJEAXh5N4fxKoPQHjtgr-dnC8Q AT mail DOT gmail DOT com> | |
<ZOtDA3PzlR/Dk8gJ AT calimero DOT vinschen DOT de> | |
In-Reply-To: | <ZOtDA3PzlR/Dk8gJ@calimero.vinschen.de> |
Date: | Mon, 28 Aug 2023 07:35:00 +0200 |
Message-ID: | <CALXu0Ue6sZ4wRYZwM8MW__nc_4q2y_EMTSuRZS7gRzoU7ujUfA@mail.gmail.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 | |
To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
X-Spam-Status: | No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, PLING_QUERY, | |
RCVD_IN_DNSWL_NONE, 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 | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Cedric Blancher via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | Cedric Blancher <cedric DOT blancher AT gmail DOT com> |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 37S5aI85013492 |
On Sun, 27 Aug 2023 at 14:35, Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> wrote: > > On Aug 26 19:44, Martin Wege via Cygwin wrote: > > On Fri, Aug 25, 2023 at 2:19 PM Corinna Vinschen via Cygwin > > <cygwin AT cygwin DOT com> 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! > > I'm talking about the idea how users would use NFS, and the idea was > that nobody in their right mind would use a crippled filesystem (from > the Windows POV) for the entire installation. Before you came up with > your complaints, nobody here even knew that somebody actually did that. What is missing in the Windows NFS filesystem to uncripple (if there is such a word in English) it from a Windows perspective? > > NFS is a niche filesystem on Windows and was never in the focus of > anybody here, except me, because I was toying around with it and was > happy to have it working. As far as I knew until a few days ago, > I was the only user of Cygwin's NFS support. Well, surprise, you were wrong. The Windows NFS filesystem has lots of users, but there are no centralised statistics. Just as an indicator, NFS on Windows has at least enough users to feed a couple of engineers at OpenText to work on their OpenText (once Hummingbird) NFS client product. Plus the two free implementations, Windows builtin NFSv3, and the CITI ms-nfsv41-client. > > As for FIFOs on NFS, as I wrote, they never worked as desired on NFS. > For kicks I tried back until Cygwin 3.3. Given this isn't a regression, > it won't be fixed for Cygwin 3.4. I am pretty sure this is a regression, as blast, staden and other software were built and operated on Cygwin. Just my PAIN job is how to rebuild our compute cluster (after total loss due water damage), new Windows, new blast&friends, new Cygwin. And promptly we got hit by this issue. > > As Brian wrote in his reply to your mail, we are all volunteers here. > Everybody working on Cygwin is working in their spare time and/or on the > goodwill of their employer. > > Cygwin is open source. You can fix or implement stuff yourself and send > the patches to the cygwin-patches ML for review. Otherwise you will > have to let us, the people actually working on the project, decide when > and how something gets implemented. I agree. > > Having said that, I have a local patch enabling FIFOs on NFS. I might > push it at one point to the main branch, but the pressure you guys are > currently building up on this mailing list puts me right off. This was not intended, at least not from my side. But in any case, I humbly apologise. Ced -- Cedric Blancher <cedric DOT blancher AT gmail DOT com> [https://plus.google.com/u/0/+CedricBlancher/] Institute Pasteur -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |