mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Neakums <sneakums@zork.net>
To: rml@novell.com
Cc: linux-kernel@vger.kernel.org
Subject: 2.6.12-rc2-mm1: inotify and directory removal
Date: Wed, 06 Apr 2005 14:21:37 +0100	[thread overview]
Message-ID: <6uacocvy5a.fsf@zork.zork.net> (raw)

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

             reply	other threads:[~2005-04-06 13:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-06 13:21 Sean Neakums [this message]
2005-04-06 18:05 ` Robert Love

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6uacocvy5a.fsf@zork.zork.net \
    --to=sneakums@zork.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@novell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®