From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gLpCl-0006Xf-5k for guix-patches@gnu.org; Sun, 11 Nov 2018 07:51:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gLpCg-0003wF-77 for guix-patches@gnu.org; Sun, 11 Nov 2018 07:51:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gLpCg-0003w3-3G for guix-patches@gnu.org; Sun, 11 Nov 2018 07:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gLpCf-0005Gt-OU for guix-patches@gnu.org; Sun, 11 Nov 2018 07:51:01 -0500 Subject: [bug#33265] [WIP RFC v4] services: Add file system monitoring service. Resent-Message-ID: Date: Sun, 11 Nov 2018 13:50:33 +0100 From: Danny Milosavljevic Message-ID: <20181111134811.7d48b621@scratchpost.org> In-Reply-To: <87wopjua86.fsf@gnu.org> References: <20181105035122.4359-1-dannym@scratchpost.org> <20181105094109.21915-1-dannym@scratchpost.org> <87a7mgwp6e.fsf@gnu.org> <20181111011218.00265d2f@scratchpost.org> <87wopjua86.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/WmivrRMd6dFB_i.mLRkleUG"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33265@debbugs.gnu.org --Sig_/WmivrRMd6dFB_i.mLRkleUG Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable > Another option would be to use Direvent I've read through direvent 5.1 now and: (1) It supports only watching entire directories. OK I guess, especially since the client can specify basename filters to be applied, so if you want to watch individual files you can, using a strange configuration (something like: path $(dirname $file), file $(escape-regex $(basename $fil= e))). (2) It doesn't notify the client on inotify queue overflow. *shakes head* (genev_xlat does not translate IN_Q_OVERFLOW) (fswatch does notify the client on inotify queue overflow) Whoever doesn't handle inotify queue overflow uses the kernel API incorrect= ly - it's not going to be reliable. --Sig_/WmivrRMd6dFB_i.mLRkleUG Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlvoJZkACgkQ5xo1VCww uqUIFAf9GXZsDEUyx8gSF7uanm/xcot8SndxkHK1/Bu6wuBrJZKje74T+qq/GBof 1goXO5HdbYw/x9amL0W989wX7PkzrmsSfjbKDeCZGzT8DnuBkkaUyvu68MGmbj7a ybGs/0KIqgKopBOqHXLV/DtgmMyOicaufcK8+ZPWrGydKRgTsdvouBZEiohahwcW BiCREYfFIpcAXCcy/kL5APrBtOdA6yNSwsXxeiOTbQ9BacN1rkUisIXuS29vm6ot MMeyG/l5VzwStU33ePtPjPDbHdj5asowPMpVwk7vwaWPUTlLxb/pJBMhSgldhmMA WvYfM5kmEaVAii7x6+2FcP5VFSAhxg== =s+o2 -----END PGP SIGNATURE----- --Sig_/WmivrRMd6dFB_i.mLRkleUG--