log of files modified - NFS

This is a discussion on log of files modified - NFS ; Is there a way to have nfsd (server side) tell me if a file has been opened for write, at about the time of the open? Possibly log the event to a file? I want to know which files in ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: log of files modified

  1. log of files modified

    Is there a way to have nfsd (server side) tell me if a file has been
    opened for write, at about the time of the open? Possibly log the event
    to a file?

    I want to know which files in a file system have been changed for backup.

    Thanks
    Bob

  2. Re: log of files modified

    Bob Kryger wrote:
    > Is there a way to have nfsd (server side) tell me if a file has been
    > opened for write, at about the time of the open? Possibly log the event
    > to a file?


    I haven't thought about this one recently, but it might not be.

    > I want to know which files in a file system have been changed for backup.


    Well, that is different. The server (nfsd) should know when a file
    is actually changed, which is a different question from opening
    for write. One might open a file for read/write without intending
    to actually write anything. Systems that log the modification
    time should update that as appropriate when a write is actually
    done.

    -- glen


+ Reply to Thread