TimeWarp File Change Monitor

The File Change Monitor is the primary application in the TimeWarp Suite. It is responsible for

  1. Reading the config files.

  2. Establishing live watches on the appropriate file systems and directories.
  3. Starting the Scheduler as a sub process with appropriate arguments.

  4. Adding appropriate items to the master queue as files change in the watched directories.

The iNotify library is used to monitor the file system for changes.

iNotify Events

The iNotify library geneates a number of different events when files are changed - the Table attempts to categorise these in terms of what applications trigger which events, and how they are recorded in the queue.

Table still to be tested

Unix Event

Pre Condition

iNotify Events

queue action

Notes

touch <file>

File does not exist

touch <file>

File does exist

cp <srcfile> <destfile>

dest file does not exist

cp <srcfile> <destfile>

dest file does exist

mv <srcfile> <destfile>

dest file does not exist

mv <srcfile> <destfile>

dest file does exist

rm <file>

ln <source> <target>

Edit file (gedit, emacs, kate)

file does not exist

Edit file (gedit, emacs, kate)

file does exist

TimeWarp/Advanced/Monitor (last edited 2014-04-01 13:21:09 by host217-42-218-163)