Yes. You need to implement open and release, then use the fuse info structure (depending on your implementation) to correlate the two.
FUSE- logging file opened time - File System
-
22-06-2023 - |
Question
With FUSE API, is it possible to know that for how much time a file is opened. If yes, then which methods to implement.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow