public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] kernel notification of file system changes
Date: Wed, 5 May 2010 18:35:37 +0100	[thread overview]
Message-ID: <C489EC17-4552-483B-9A9F-0B0EAEB5443D@stellar.eclipse.co.uk> (raw)
In-Reply-To: <4BE1A9C5.5090709@f_philipp.fastmail.net>


On 5 May 2010, at 18:24, Florian Philipp wrote:
>> ...
>> man inotify(7):
>> ... When a directory is monitored, inotify will return events for the
>> directory itself, and for files inside the directory.
>> ...
>
> To repeat my comment on Iain's original "backup to a cold-swap drive"
> thread ...

Sorry, I started ignoring that almost immediately it was posted. He  
rejected too quickly too many workable solutions to basically  
functional backup. Perhaps Iain is a perfectionist, but I did not wish  
to follow the thread.

> ... Inotify has two drawbacks which make it hard or even impossible
> to use for Iain's use case:
>
> a) It does not work recursively which means that you have to create a
> new handle for each subdirectory. Of course, this only means more work
> for the programmer but there is also the problem that

Pardon me. I assumed that "files inside the directory" meant that foo  
would be be changed when foo/bar changed, thus monitoring grunt would  
reflect changes in grunt/foo/bar. I overlooked that a directory is not  
a file.

Stroller.




  reply	other threads:[~2010-05-05 18:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-05  6:54 [gentoo-user] kernel notification of file system changes Iain Buchanan
2010-05-05  7:12 ` Bill Kenworthy
2010-05-05 23:29   ` Iain Buchanan
2010-05-05 23:33     ` Volker Armin Hemmann
2010-05-05 23:51       ` Iain Buchanan
2010-05-05 23:59         ` Volker Armin Hemmann
2010-05-05 13:34 ` Stroller
2010-05-05 17:24   ` Florian Philipp
2010-05-05 17:35     ` Stroller [this message]
2010-05-05 23:51       ` Iain Buchanan
2010-05-06 14:22         ` Stroller
2010-05-05 15:02 ` Helmut Jarausch
2010-05-05 23:24   ` Iain Buchanan
2010-05-06  2:17     ` Iain Buchanan

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=C489EC17-4552-483B-9A9F-0B0EAEB5443D@stellar.eclipse.co.uk \
    --to=stroller@stellar.eclipse.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /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