From: Billy O'Connor <billy@oconnoronline.net>
To: cq@htec.demon.co.uk
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Detecting file changes?
Date: Mon, 10 Jun 2002 17:50:29 -0400 (EDT) [thread overview]
Message-ID: <20020610215029.A8C3B18@dps7.oconnoronline.net> (raw)
In-Reply-To: <3D051E69.2040000@htec.demon.co.uk> (cq@htec.demon.co.uk)
>From billy Mon Jun 10 16:51:33 2002
Date: Mon, 10 Jun 2002 22:47:21 +0100
From: Christopher Quinn <cq@htec.demon.co.uk>
X-Accept-Language: en-us, en
Sender: linux-c-programming-owner@vger.kernel.org
X-Mailing-List: linux-c-programming@vger.kernel.org
Hello list.
Is there a way other than polling to detect when a file's contents change?
I was hoping something like select(2).
Any ideas?
Thanks,
Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Check out sgi_fam. This uses select to monitor file accesses. One
source would be:
http://mirror.hiwaay.net/redhat/redhat/redhat-7.3-en/os/i386/SRPMS/fam-2.6.7-6.src.rpm
--
Billy O'Connor
prev parent reply other threads:[~2002-06-10 21:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-09 16:05 Mutual exclusion chuckw
2002-06-09 17:46 ` Steven Smith
2002-06-10 21:47 ` Detecting file changes? Christopher Quinn
2002-06-10 21:50 ` Billy O'Connor [this message]
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=20020610215029.A8C3B18@dps7.oconnoronline.net \
--to=billy@oconnoronline.net \
--cc=cq@htec.demon.co.uk \
--cc=linux-c-programming@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).