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=4af5f9d

Yes, ENODEV seems a better mapping than EACCES for "media changed". (But a generalized ESTALE, not only for NFS, could be an even better mapping).

Best regards,
Antonio.

Reply via email to