kqueue/kevent - watching an entire filesystem?

Mikhail T. mi+thun at aldan.algebra.com
Mon Dec 25 17:25:19 UTC 2017


It looks like an watching an arbitrary sub-tree with kqueue remains out 
of reach on FreeBSD -- one needs to traverse the entire (sub)tree first 
and create a separate kevent for each subdirectory.

But, maybe, watching an entire filesystem for changes can be 
accomplished easier? If not just any filesystem -- a ZFS one?

Thanks!

    -mi



More information about the freebsd-fs mailing list