Questions tagged [fanotify]

3 questions
14
votes
1 answer

What are the costs of increasing `/proc/sys/fs/inotify/max_user_watches` value?

In order to watch my home directory and all subdirectories recursively for 60 seconds: $ inotifywatch -v -r -t 60 /path You may get Failed to watch /path; upper limit on inotify watches reached! error , which you can fix by rising limit, e.g. to…
Grzegorz Wierzowiecki
  • 13,865
  • 23
  • 89
  • 137
2
votes
1 answer

Can fanotify modify files before access by other applications?

According to this, fanotify has “the possibility to read or modify files before access by other applications”. However, I can't find any example showing how this can be done. From what I understand, fanotify is used for event monitoring and can only…
Rexalderan
  • 23
  • 4
1
vote
0 answers

Accessing NFS export locally: data consistency?

System I know has /etc/exports (redacted address range; NFSv4, Linux 5.8.3): /usr/users 192.168.68.0/255.255.255.128(rw,root_squash,sync,no_subtree_check) which is mounted on client machines (to offer remote home directories). But on the same…
Marcus Müller
  • 21,602
  • 2
  • 39
  • 54