[OpenIndiana-discuss] Add inotify support to illumos-gate

Till Wegmüller toasterson at gmail.com
Tue May 2 18:25:49 UTC 2023


Hi Stephan

inotify has stubbed headers that work roughly decently. Any software 
should use FEN or the Native API. We add it to every programming 
language we can and should also add it to mate-system-monitor or rather 
make it use kstat if it tries to poll things under /proc which it should 
not for us.

What does mate-system-monitor use inotify for?

-Till

On 02.05.23 12:10, Stephan Althaus wrote:
> Hello!
> 
> As a search result from this morning, glib misses inotify/fam support,
> which is a reason for mate-system-monitor to dump core.
> 
> FAM seems to be too old, but inotify-support is not in illumos-gate,
> but Smartos has support for it.
> 
> 
> Which is the "right" way to include inotify support in OI ?
> 
> a) Should we hopefully ask some smartos-developer to upstream this?
> 
> b) As a patch (-set) within oi-userland to illumos-gate ?
> 
> c) ??
> 
> 
> A small search in the smart-os tree gives this:
> 
> $ find . -iname "*inotify*"
> ./illumos-joyent/usr/src/lib/libc/port/sys/inotify.c
> ./illumos-joyent/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/zfs_mount_watched_inotify.ksh
> ./illumos-joyent/usr/src/man/man3c/inotify_rm_watch.3c
> ./illumos-joyent/usr/src/man/man3c/inotify_init.3c
> ./illumos-joyent/usr/src/man/man3c/inotify_add_watch.3c
> ./illumos-joyent/usr/src/man/man7/inotify.7
> ./illumos-joyent/usr/src/uts/sparc/inotify
> ./illumos-joyent/usr/src/uts/intel/inotify
> ./illumos-joyent/usr/src/uts/common/io/inotify.c
> ./illumos-joyent/usr/src/uts/common/io/inotify.conf
> ./illumos-joyent/usr/src/uts/common/sys/inotify.h
> 
> 
> Regards,
> 
> Stephan Althaus
> 
> 
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list