mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.12-rc2-mm1: inotify and directory removal
@ 2005-04-06 13:21 Sean Neakums
  2005-04-06 18:05 ` Robert Love
  0 siblings, 1 reply; 2+ messages in thread
From: Sean Neakums @ 2005-04-06 13:21 UTC (permalink / raw)
  To: rml; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-04-06 18:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-06 13:21 2.6.12-rc2-mm1: inotify and directory removal Sean Neakums
2005-04-06 18:05 ` Robert Love

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®