BSD Ports

devel/gamin 0.1.10_10 DragonFly

File and directory monitoring system

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
devel
Package size
53.3 KiB, 275.1 KiB installed

Description

Gamin is a file and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor) system. This is a service provided by a library which allows to detect when a file or a directory has been modified.

Whereas the FreeBSD port of FAM polls files every few seconds, this port includes a kqueue(2) backend for immediate notification of most alterations.

In the other systems

The newest version among them is 0.1.10, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/gamin0.1.10_10 newestnone known-[email protected]-
FreeBSDdevel/gamin0.1.10_10 newestnone known-[email protected]-
NetBSDsysutils/gamin by name0.1.10nb11 newestnone known--2026-09-29
MidnightBSDdevel/gamin0.1.10_335 newestno data-[email protected]-
HardenedBSDdevel/gamin0.1.10_10 newestno data-[email protected]-
GhostBSDdevel/gamin0.1.10_10 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install gamin

From DPorts:

cd /usr/dports/devel/gamin && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none

Message after installing

Gamin will only provide realtime notification of changes for at most n files,
where n is the minimum value between (kern.maxfiles * 0.7) and
(kern.maxfilesperproc - 200). Beyond that limit, files will be polled.

If you often open several large folders with Nautilus, you might want to
increase the kern.maxfiles tunable (you do not need to set
kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).

The behavior of gamin can be controlled via the various gaminrc files.
See http://www.gnome.org/~veillard/gamin/config.html on how to create
these files.  In particular, if you find gam_server is taking up too much
CPU time polling for changes, something like the following may help
in one of the gaminrc files:

# reduce polling frequency to once per 10 seconds
# for UFS file systems in order to lower CPU load
fsset ufs poll 10

===>   NOTICE:

The gamin port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing