rick
It seems to me that it's a lot better than the alternative, having the open
"succeed" but not be exclusive! After all, you don't ask for O_EXCL if you
don't care whether the operation's exclusive or not.
--
Thor Lancelot Simon t...@rek.tjls.com
"And where do all these highways go, now that we are free?"
program opening a file with O_EXCL expect a specific, well defined service
from the filesystem. If the filesystem (or in this case the NFS server) can't
offer this service; then this program can't work reliably. I don't think it's
good to allow it to run anyway. The only problem I can see here is that
EOPNOTSUPP doesn't point to the server, unless you really know what's up.
Now, a program opening a file O_EXCL when it doesn't need it is brocken.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel...@lip6.fr
--