> > link() would be ok but it's redundant given you can just open(). > > It is not redundant with pre-NFSv3, where open() with O_EXCL is not > sufficient. > > > Pre-NFSv3 I don't know other than it's ancient, and if you can't > > O_EXCL then whatever you do there is a wash. > > No, because you can use link(), as described in the Linux open(2) man > page.
Assuming I survive hinting people use more recent NFS versions... interesting, thx. http://linux.die.net/man/2/open