Dectecting dir changes

Fredrik Lundh fredrik at pythonware.com
Fri Dec 9 11:10:23 EST 2005


"chuck" wrote:

> 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.

    $ man fcntl

</F> 






More information about the Python-list mailing list