I know how to strace a certain program to see all the files it reads. I know how to see what processes are using a certain file at the moment.
But is there a way to log all file opens. I want something like tail -f some/log/file
but instead lsof -f /file/someone/might/open/soon
which prints out info every time something opens that file.
Thanks