Equivalent linux notify for FreeBSD

Gian Piero Carrubba gpiero at rm-rf.it
Sun Apr 18 07:33:14 UTC 2021


* [Sun, Apr 18, 2021 at 06:45:53AM +0000] Carlos Lopez:
> Is there something equivalent like the inotify options for FreeBSD? I 
> am trying to generate a script that monitors a list of files and moves 
> them once they are closed.

There's kqueue, but there are substantial differences from inotify 
(e.g.: I don't think you can monitor a directory). I don't know if 
there's any ready-to-use command line tool to take advantage of kqueue, 
though.

Ciao,
Gian Piero.


More information about the freebsd-questions mailing list