fam
[Top] [All Lists]

Re: [fam] Some questions

To: Andy MacNamara <am1129@xxxxxxxxxx>
Subject: Re: [fam] Some questions
From: Michael Wardle <michael.wardle@xxxxxxxxxx>
Date: Mon, 25 Feb 2002 12:10:34 +1100
Cc: fam@xxxxxxxxxxx
Organization: Adacel Technologies
References: <Pine.GSO.4.44.0202232045530.22127-100000@xxxxxxxxxxxxxxxxxx> <3C798A48.9010303@xxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204
Michael Wardle wrote:

[...]

How featureful is DNotify? How does it compare to IMon? Can you do the
same things with the two?

[...]

The first difference I notice is in the events each will report:

EVENT      |    IMon    |  DNotify    |
-----------|------------|-------------|
accessed   |      -     |  DN_ACCESS  |
modified   | Changed?   |  DN_MODIFY  |
created    | Created    |  DN_CREATE  |
deleted    | Deleted    |  DN_DELETE  |
renamed    | Moved*     |  DN_RENAME  |
changed    | Changed?   |  DN_ATTRIB  |
begin run  | Executing  |      -      |
end run    | Exited     |      -      |
other      | Exists     |      -      |
other      | EndExist   |      -      |

It seems that some aspects of /accessed/ may be encompassed in the IMon Changed event (for instance, it reports if the ctime changes, so it might do so if the atime changes).

This basically depends on how IMon was patched into the Linux kernel, something I'm not fully up to speed on.

The Moved/Renamed event would require a little bit of poking around to see exactly what it should, does, and does not do.

--
MICHAEL WARDLE                |  WORK   +61-2-6024-2699
SGI Desktop & Admin Software  |  MOBILE +61-415-439-838
Adacel Technologies Limited   |  WEB    http://www.adacel.com/



--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>