Vincas' code snippet produces the following output when the tmp file is on the glusterfs partition:
>>> import fcntl
>>> fd = open("test",'w')
>>> fcntl.flock(fd,1)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IOError: [Errno 38] Function not implemented
>>> quit
Use quit() or Ctrl-D (i.e. EOF) to exit
>>> quit()
Luke
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

