|
From: | Christian Franke |
Subject: | Re: permission denied in cygwin |
Date: | Mon, 26 Feb 2024 17:21:30 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 SeaMonkey/2.53.16 |
Antonio Diaz Diaz wrote:
Christian Franke wrote:Antonio Diaz Diaz wrote:Maybe ESTALE could be used for "media changed".Further experiments and comparison with Linux behavior suggests that ENODEV is a reasonable mapping. See related upstream commit: https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=4af5f9dYes, ENODEV seems a better mapping than EACCES for "media changed". (But a generalized ESTALE, not only for NFS, could be an even better mapping).
Under Linix, ESTALE appears only in networking context but never in raw block device context (AFAIK).
[Prev in Thread] | Current Thread | [Next in Thread] |