fam
[Top] [All Lists]

Re: [fam] Monitoring more directories

To: Leopoldo Centore <centore.leo@xxxxxxxxxxxx>
Subject: Re: [fam] Monitoring more directories
From: Michael Wardle <michael.wardle@xxxxxxxxxx>
Date: Thu, 08 Aug 2002 11:30:22 +1000
Cc: fam@xxxxxxxxxxx
Organization: Adacel Technologies Limited
References: <1028757443.2350.0.camel@sistemi_1>
Sender: owner-fam@xxxxxxxxxxx
Hi

Leopoldo Centore wrote:

[...]

> Yet, if i try to read "filename" in a struct "FAMEvent" (ev.filename), I
> have only the name of the file and not the absolute path ...
> 
> so I don't know in which directories it has been created.
> 
> Please, can someone help me ?.

IIRC the FAM test program stores the file's path in FAMEvent->userdata:
you might like to do the same.

See test/test.c++ in the FAM sources for more information.

HTH

-- 
MICHAEL WARDLE
SGI Desktop and Sysadmin Team
Adacel Technologies Limited

Attachment: michael.wardle.vcf
Description: Card for Michael Wardle

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