[OpenAFS] open() with O_EXCL in AFS

Jeffrey Hutzelman jhutz@cmu.edu
Fri, 12 Sep 2003 14:18:49 -0400

> Hash: SHA1
> I got a couple of hits searching google on this, but I was hoping to get a
> definitive answer.
> Does OpenAFS support open(2) with O_EXCL?  According to the open()
> manpage, NFS does not.

Reading the code (particularly, afs/VNOPS/afs_vnop_create.c), it appears 
that yes, the OpenAFS cache manager does support O_EXCL correctly.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA