lkml.org 
[lkml]   [2005]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject2.6.12-rc2-mm1: inotify and directory removal
Date
Using your glib sample thingy from
http://www.kernel.org/pub/linux/kernel/people/rml/inotify/glib/

$ mkdir snozzberries
Event on wd=0: snozzberries, a directory, was created
$ rmdir snozzberries
Event on wd=0: snozzberries, a directory, was deleted

$ mkdir snozzberries
Event on wd=0: bunneh, a directory, was created
$ rm -r snozzberries
Event on wd=0: The watch was opened

Also seen, watching a directory after some other traffic:

$ mkdir snozzberries
Event on wd=0: snozzberries, a directory, was created
$ rm -r snozzberries
Event on wd=0: The watch was opened
Event on wd=0: was closed (was not writable)

If I use absolute paths the rmdir/mkdir case is the same.
However:

$ mkdir ~/tmp/snozzberries
Event on wd=0: snozzberries, a directory, was created
$ rm -r ~/tmp/snozzberries
Event on wd=0: snozzberries was opened

--
Dag vijandelijk luchtschip de huismeester is dood
-
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/

\
 
 \ /
  Last update: 2005-04-06 15:30    [W:0.047 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site