VFS version error

Sharayu Mantri sm25541994 at gmail.com
Mon Mar 2 21:23:04 MST 2015

Okay, So I want to intercept Open , close, read, write, create file, and
various similar directory calls . If any file is opened from the shared
folder in client , that moment before the VFS open call, my function should
be executed which takes the details of the file which is opened , like path
, last accesed, last modified, and various other. and update that into my
berkeley database.
after updation move the file from directory to some other directory
(depending on policy , logic of project ) and after moving open system call
can be executed.

So, what i need is the open call to be called only once for each. Is that
possible ? If not what other options I have?

On Mon, Mar 2, 2015 at 3:31 PM, Volker Lendecke <Volker.Lendecke at sernet.de>

> On Mon, Mar 02, 2015 at 03:28:27PM +0000, Sharayu Mantri wrote:
> > I call syslog so that i can see the sequence in which my skel_transparent
> > functions are called. When i checked my syslog , i noticed that even
> though
> > client opens only one file or file once, still the open call from
> > skel_transparent.c is executed more than once. Can u explain me the
> > behaviour ? and when does this various calls get executed and why this
> call
> > are continuously called although client has not triggered any of this
> > functions.
> Please give a high-level description of why you are writing a VFS
> module. We can of course trace and in detail explain every single call,
> but with an understanding about the problem you want to solve I guess
> we will be able to help you better.
> Thanks,
> Volker Lendecke
> --
> SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
> phone: +49-551-370000-0, fax: +49-551-370000-9
> AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
> http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list