Dectecting dir changes

chuck cmedcoff at gmail.com
Fri Dec 9 11:03:26 EST 2005


Is this on Solaris?

I think you may have missed my point.  I don't have fcntl.py on my
Solaris box so how do I know what signals that I can used to monitor a
directory for modification.  In other words will the following work?

fcntl.fcntl(self.fd, fcntl.F_NOTIFY,
fcntl.DN_DELETE|fcntl.DN_CREATE|fcntl.DN_MULTISHOT)

Without fcntl source, which the python documentation suggests that I
look at, I don't know if any of these constants apply to the Solaris
platform.




More information about the Python-list mailing list