Re: dnotify semantics

Andreas Dilger (adilger@turbolabs.com)
Fri, 26 Oct 2001 12:16:28 -0600


On Oct 26, 2001 11:48 -0400, Alex Larsson wrote:
> Currently when monitoring a directory using dnotify you get notifications
> whenever some file in the directory changes, or is added/removed. But when
> the directory itself is changed (i.e. chmoded) you don't get any notification.

So, monitor the parent of the directory in question for attribute changes.

Cheers, Andreas

--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/