-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors: undefined: unix.FanotifyInit, etc #7
Comments
I didn't think about FreeBSD at all when creating this program. Does FreeBSD have some mechanism that send file creation/deletion events? |
What do you mean by this? Where are events sent? (most of the linux functionality works on FreeBSD) |
gosearch uses the fanotify system of the Linux kernel to listen to file change events. Whenever a file is either created or deleted, it is add/removed from the index that gosearch maintains to provide fast search results. The required capabilities of the fanoitfy system were only mainlined in kernel version 5.1 and it seems to me that fanotify/inotify are exclusive to linux. If there is some similar mechanism in FreeBSD, it would be possible to implement FreeBSD support by providing an implementation of the |
Linux's
|
On FreeBSD 12 I am getting this failure:
The text was updated successfully, but these errors were encountered: