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:;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).

Under Linix, ESTALE appears only in networking context but never in raw block device context (AFAIK).

Reply via email to