On 3/3/21 8:54 PM, Nicholas D Steeves wrote:
Please note that these features are what KCoreAddons (or more specifically KDirWatch) uses FAM for.thus FAM covers a use case that gamin does not, and this case is: users who want to receive inotify style events for files that have been remotely created or modified on NFS mounts. Also, IIRC gamin depends on Linux-specific features such as inotify where FAM provides fallbacks (eg: IIRC FAM is required on kfreebsd and hurd); this might not be significant, but I felt it was worth mentioning :-)
KDirWatch hooks up to inotify directly and prefers that if possible. FAM is only used for fallback codepath for e.g. nfs-mounts, before KDirWatch resorts to the last fallback; polling.
Replacing with libgamin is basically making the inotify-free codepath depend on inotify, so either keep using FAM, or skip both of them.
/Sune- who has been debugging KDirWatch and other parts of KCoreAddons over the years.