Re: possible to do non-blocking write to NFS?

James Stevenson (mail-lists@stev.org)
Tue, 4 Dec 2001 00:44:45 -0000


> Is there any way to write to an NFS-mounted filesystem in a way that will
avoid
> all of the NFS retries? Basically I want to try a write, and if the
server is
> not accessable I want to return immediately with an error code.

see the mount options for nfs
under the mount and nfs man pages

> Would setting the O_NONBLOCK flag on opening the file give me this
behaviour?
>

no it would not

James

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/