directories in "real time", without having to periodically poll(2) for them
after several seconds. This improves the responsiveness of applications
using famd (specially GNOME) when changes to files occur from the "outside"
(they are notified from changes immediately), or even from the application
itself (for example, have you ever tried to rename several files from
Nautilus? just a PITA).
To enable kqueue, you have to pass the 'kqueue' option to the package.
I'm not enabling it by default because it needs testing (but it should be
enabled in a future). Furthermore, I'd like to send these patches to the
FAM developers for comments too. And a review from somebody knowing kqueue
could be good! (this is the first time I use the kqueue interface, so I'm
not sure if everything is right).
A description on how this works can be found in the files/IMonKQueue.c++
file. Note that, due to FAM's design, the easiest way to do this change
is to "emulate" imon functionality.
While here, add an rc.d script for famd, in case the user prefers to run
it at system startup instead of from inetd (I created it while developing
the kqueue functionality, so it's a good moment to add it). Adjust the
MESSAGE accordingly.
Bump PKGREVISION to 4.
- PR pkg/23017
- PR pkg/23495
- PR pkg/23496
- PR pkg/24578
The patches for 23017 and 24578 were provided by reed@. Although rh@
suspended PR 23017 saying that pkgsrc does not support installation to
/usr, this still needs to be fixed because the same problem occurs
even when LOCALBASE != /usr.
Changes since 2.6.10:
Changed NOGROUP usage in src/Cred.c++ to -1 as NOGROUP is not defined
in IRIX.
(mraymond@sgi.com)
removed const modifier from Scheduler.h to fix GCC 3.x build.
(wardle@sgi.com)
created new GNU autotools files:
- test whether we have IMon rather than testing OS.
- test whether we have sockaddr length members rather than testing OS.
- install daemon in sbin rather than bin.
- install manual pages in typical GNU/Linux sections.
- rename daemon to famd.
- rename fam source directory to src.
- rename libfam source directory to lib.
- remove editconf and util subdirectory.
- remove rpm target and build subdirectory.
- remove support target and subdirectory.
[wardle@sgi.com] (wardle@sgi.com)
fixed warnings about typenames in BTree.h.
(wardle@sgi.com)
- removed const from Scheduler.h to fix GCC 3 build.
- use GID_NOBODY if NOGROUP is undefined to build on SysV-like operating
systems including IRIX.
Changes in the package:
- Install configuration file in place.
- Tell the user how to setup and enable FAM.