From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Luciano - igLnx" Subject: file creation detection Date: Mon, 3 Jun 2002 09:23:01 -0300 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <00a101c20af9$682c66b0$0100a8c0@xlucm> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: To: List-Id: linux-fsdevel.vger.kernel.org How to detect file creation in a directory ? I need to do a program that stay monitoring a directory looking for new files, but I think that use of "timers" is not the best pratice to build efficient application. Then, I'm looking for resources (system calls, etc) that keep the program in idle mode until a occurency of file creation events, etc. Thanks, Luciano.