Discussion:
log of files modified
(too old to reply)
Bob Kryger
2008-02-05 00:34:23 UTC
Permalink
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
glen herrmannsfeldt
2008-02-08 16:36:10 UTC
Permalink
Post by Bob Kryger
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.
Post by Bob Kryger
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

Loading...