What function does linux call to save a file ?
What system function does linux call when it saves a file. What I am trying to accomplish is having this function do something extra every time a file is saved.
|
usually: open, write, close
|
Thanks for the reply. I looked at unistd.h and studied the write(2) function. Then a minute later it hit me that I was doing things the hard way. I have a server in which rsync will be doing all the writing, so what I need to hack is the rsync writing routine, and not linux write(2).
|
All times are GMT -5. The time now is 03:16 PM. |