Issue opening file on NFS read-only mount
N.M. Maclaren
nmm1@cam.ac.uk
Thu Oct 31 09:19:00 GMT 2013
On Oct 30 2013, Janne Blomqvist wrote:
>
>I don't think it's a bug in gfortran; as you can see from the traces,
>the exact same open() call is made in both cases.
>
>My guess it's a bug in the kernel. Googling for "Linux NFS ENOTDIR"
>turns up a number of suspicious bugs that might be related to the
>problem you're seeing.
Or possibly one in the NFS server (or an incompatibility between it and
the client), though I don't know the NFS protocol well enough to more
than guess and haven't looked (as you have).
But this class of failure is ancient (pre-Unix!) and ubiquitous, and
is inherent in the conflict between Fortran's file model and almost
every file system interface. I would dearly like to see not providing
ACTION on OPEN deprecated, but have tried and failed with that one :-(
Thinks: Hmm. That's a possible candidate for -Wextra!
Regards,
Nick Maclaren.
More information about the Fortran
mailing list