delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/04/20:37:40

X-Spam-Check-By: sourceware.org
Date: Sat, 4 Mar 2006 17:37:26 -0800 (PST)
From: "Paul J. Lucas" <pauljlucas AT mac DOT com>
To: cygwin AT cygwin DOT com
Subject: stat(2) of a directory
Message-ID: <Pine.LNX.4.63.0603041734430.22433@vgfl.cnhywyhpnf.bet>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

	Under *nix, I can use stat(2) of a directory to know when its
	contents have changed (file added or deleted from it).

	Under cygwin, this doesn't work because a directory's
	modification time doesn't change when its contents change.

	Any recommendations as to how to monitor a directory to know
	when its contents change under cygwin?

	- Paul

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019