On Wed, 2008-01-02 at 10:55 +0100, Michael Kerrisk wrote:
> Hey Trond,
> 
> Would you take a quick look at
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453946
> 
> Do you have some insights on this?  What should the man page say about
> current support of O_EXCL on NFS?
> 
> Cheers,
> 
> Michael

Hi Michael,

Timo is correct. O_EXCL has been supported for NFSv3 (and NFSv4) ever
since the 2.6 series kernels came out.

However, please note that
      * it is not supported for any 2.4.x kernels, since that would
        require some VFS re-engineering that is not compatible with the
        'stable kernel' rules.
      * As Timo states, the NFSv2 protocol cannot support O_EXCL
        semantics.

I think the second point warrants keeping the link() workaround mention,
though, since people who are interested in writing completely portable
software may still find it useful. For instance, a lot of mail delivery
setups are still using the type of locking scheme described there.

Cheers
  Trond




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to