阅读背景:

如何检测文件已被删除

来源:互联网 

I am writing a program to monitor the file system. But I'm not able to detect when a file is deleted. I tried monitoring with FAN_MARK_ONLYDIR flag hoping fanotify rise some event when deleting a file in a monitored dir, no results.I am writing a program to monitor the file syst




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: