2004-02-09 19:14:45 +01:00
|
|
|
===========================================================================
|
2008-12-04 00:23:20 +01:00
|
|
|
$NetBSD: MESSAGE,v 1.6 2008/12/03 23:23:20 minskim Exp $
|
2004-02-09 19:14:45 +01:00
|
|
|
|
Add kqueue support. This way, famd can be notified of changes to files and
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.
2004-10-17 21:20:53 +02:00
|
|
|
Because FAM uses RPC, you have to add the following line to the system's
|
|
|
|
portmapper file (/etc/rpc):
|
2004-02-09 19:14:45 +01:00
|
|
|
|
2004-03-22 14:57:01 +01:00
|
|
|
sgi_fam 391002 fam # File Alteration Monitor
|
2004-02-09 19:14:45 +01:00
|
|
|
|
2006-05-27 16:10:28 +02:00
|
|
|
Also make sure that the RPC port mapper is enabled by checking whether
|
|
|
|
rpcbind=YES is in /etc/rc.conf. After that, restart the rpcbind(8) server.
|
Add kqueue support. This way, famd can be notified of changes to files and
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.
2004-10-17 21:20:53 +02:00
|
|
|
|
|
|
|
Furthermore, you have to enable the FAM daemon. There are two ways to do
|
|
|
|
this: through inetd(8) or as a standalone server. If you prefer the former
|
|
|
|
way, add the following line to /etc/inetd.conf:
|
2004-02-09 19:14:45 +01:00
|
|
|
|
2004-03-29 00:00:04 +02:00
|
|
|
sgi_fam/1-2 stream rpc/tcp wait root ${PREFIX}/sbin/famd famd
|
2004-02-09 19:14:45 +01:00
|
|
|
|
2008-12-04 00:23:20 +01:00
|
|
|
and reload inetd(8)'s daemon. However, if you prefer the latter way, use
|
Add kqueue support. This way, famd can be notified of changes to files and
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.
2004-10-17 21:20:53 +02:00
|
|
|
the provided famd rc.d(8) script.
|
|
|
|
|
2004-02-09 19:14:45 +01:00
|
|
|
===========================================================================
|