Re: Native (small) inotifywait-like tool?

Tomek CEDRO <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <CAFYkXj=oneCOusYT4Tf9AJ55rqiS9z_sC7Vx-BVgZjZ7zHXnvA@mail.gmail.com>
On Wed, Aug 5, 2026 at 4:43 PM Bjoern A. Zeeb
<[email protected]> wrote:
> Hi,
>
> do we have a native tool (can be way simpler) like inotifywait?
>
> I am essentially looking for something which will trigger an action when a
> file changes; the action could also be in a shell script so "wait" in a shell
> script look would be acceptable.
>
> Problem is that I am very space contraint and don't want to pull in more
> libraries etc. when a few kB would already do.
>
> I assume soemthing like the example in kqueue(2) will almost do?
>
> I am just wondering: we do not have a tool like this already in base?

filemon(1) / filemon(4) ?

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.