[lkml]   [2003]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Detecting changes in a directory tree
On Thu, Jan 16, 2003 at 01:58:36PM -0500, Jeroen van Disseldorp wrote:

> Hi,

Hi Jeroen,

> For an application I'm writing I need to know if files in a certain
> directory tree were modified and/or deleted by another process. I
> assume that that tree is mounted on the machine that my app is running
> on. The device it has mounted on can be a local HD, but it can also be
> hosted remotely and mounted over nfs.
> I know of FAM, but this is documented to only watch a directory 1 level
> deep, and I need the whole tree to be monitored. Does anyone know a
> solution for this? Does the kernel provide facilities for this?

with a kernel >= 2.4.19 dnotify [1] might do what you want.

> Regards,
> Jeroen van Disseldorp




"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.055 / U:2.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site