From nobody Sat Aug 13 19:09:14 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M4qpl3fjBz4Yd0p for ; Sat, 13 Aug 2022 19:09:19 +0000 (UTC) (envelope-from meator.dev@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4qpk3jd6z3lql; Sat, 13 Aug 2022 19:09:18 +0000 (UTC) (envelope-from meator.dev@gmail.com) Received: by mail-ed1-x52f.google.com with SMTP id s11so4930997edd.13; Sat, 13 Aug 2022 12:09:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:from:cc:references:to:content-language:subject :user-agent:mime-version:date:message-id:from:to:cc; bh=1qAgkdS+DJvYRarzep60Ie/VibN9zI6mSaBqgHmwy6I=; b=KhpYCzhPiZVjfx6SJwecj95n+NC7exVY7finhMv7ei4c+sp4lDI4NSKrgLqYr6dv/+ Z2hLNDBLU0WRmxqv+7U6jFUo60K1fv94hfCcDFPmrIrn5hrqcf2umLnwaMIkq3Vr6Bzf peM1PDgP6D6uaYSgDAL0CyjntLp8K0SFRi2Uqd576lMJx3IH/9rN25F3lzX6hQEmVaLs hm8pBY5yu6xUhC7z1S6V8hOUnvxHt4tpIq9Jcr7Hd3ZVOOkR7Z7q7+eoF8aIJRkTokGA ipqxAhsF7Or4Dh9EVsprkbFNcxtBeDvBYVwKhoob+7sJ2riykddqDi2iAsjVPmD/i6pf ae0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:from:cc:references:to:content-language:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc; bh=1qAgkdS+DJvYRarzep60Ie/VibN9zI6mSaBqgHmwy6I=; b=8Fye7Tn/8hdWJC4oYjRxS5jThjHBQu6hjxIQVN/5q6EUiR4CthYeTeNaP/BG/JQSZi KuJcO16GVMbbcSDep+xBpCEzKbvb97Q9TXdKtM9Y8HP64ygFFp9Lu/YefAkVktxFYsXC LFNhS4R52+42uarQ8P9XvPgGggMyjTQBWM4uvR+uQrZf9DFghsCrU52q7s4ArE+q8iQi RzSgTq/hEKbLQKiGoc9RYI5fON5iwvEBJzB9EIfajgMxlp/civ1K6D5OLrhwCeXw/EB+ jRcJU90qdXn8/AVCsMalSJ/06u+GYfB94fGLF02xzMhuCsfB6yzYgS12UvWNuJdKUANH c17Q== X-Gm-Message-State: ACgBeo0Bz+NT4wYfZCWIaXLq2U9Nw7hKUsI6p26A0IirGe45uahUr4nl h/k6kVukBhjRSzd3LjLuY+Rjoy1h5ok= X-Google-Smtp-Source: AA6agR5ApeGjWYmw0QWwLZmPHFIm57NraK4n1hLwTZwF3M+q5zp2L1tu+QgsDMx3zqxPUdAYAKF1LQ== X-Received: by 2002:a05:6402:50cb:b0:440:87d4:3ad2 with SMTP id h11-20020a05640250cb00b0044087d43ad2mr8335179edb.219.1660417757275; Sat, 13 Aug 2022 12:09:17 -0700 (PDT) Received: from [192.168.0.109] ([91.187.59.126]) by smtp.gmail.com with ESMTPSA id kd1-20020a17090798c100b007262a1c8d20sm2220330ejc.19.2022.08.13.12.09.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Aug 2022 12:09:16 -0700 (PDT) Message-ID: Date: Sat, 13 Aug 2022 21:09:14 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: How to monitor a directory in FreeBSD? Content-Language: en-US To: Gleb Popov References: <652f3c12-388c-04d0-ebeb-753b76b2b742@gmail.com> Cc: freebsd-hackers From: meator In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------zR7es85qzLzC22mOV3txUPGH" X-Rspamd-Queue-Id: 4M4qpk3jd6z3lql X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=KhpYCzhP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of meator.dev@gmail.com designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=meator.dev@gmail.com X-Spamd-Result: default: False [-1.99 / 15.00]; SIGNED_PGP(-2.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; MIME_BASE64_TEXT(0.10)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCVD_TLS_LAST(0.00)[]; TAGGED_FROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; HAS_ATTACHMENT(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52f:from]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------zR7es85qzLzC22mOV3txUPGH Content-Type: multipart/mixed; boundary="------------7Y3eEWeT0xyk0yf2HOAdrU4n"; protected-headers="v1" From: meator To: Gleb Popov Cc: freebsd-hackers Message-ID: Subject: Re: How to monitor a directory in FreeBSD? References: <652f3c12-388c-04d0-ebeb-753b76b2b742@gmail.com> In-Reply-To: --------------7Y3eEWeT0xyk0yf2HOAdrU4n Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gOC8xMy8yMiAxNzozNSwgR2xlYiBQb3BvdiB3cm90ZToNCj4gDQo+IFllcywgdGhlcmUg aXMgbm8gbmF0aXZlIEFQSSB0byBtb25pdG9yIGRpcmVjdG9yaWVzLiBZb3UgY2FuIHVzZSAN Cj4gbGliaW5vdGlmeSBmcm9tIHBvcnRzLCB3aGljaCByZXBsaWNhdGVzIExpbnV4IGlub3Rp ZnkgQVBJIGFuZCBpdCBkb2VzIA0KPiBoYXZlIGFiaWxpdHkgdG8gbW9uaXRvciBkaXJlY3Rv cmllcy4NCj4gDQoNCkkgd291bGQgbGlrZSB0byBhdm9pZCBleHRyYSBkZXBlbmRlbmNpZXMu IElmIEkgd291bGQgbGlrZSB0byBkbyB0aGlzLCANCnRoYW4gSSB3b3VsZCBwcm9iYWJseSBj aG9vc2UgRkFNIG9mIEdhbWluLiBUaGUgTGludXggUHJvZ3JhbW1pbmcgDQpJbnRlcmZhY2Ug Ym9vayByZWZlcmVuY2VzIHRoZXNlIHR3byBhcyBhIG1vcmUgY3Jvc3MgcGxhdGZvcm0gDQph bHRlcm5hdGl2ZXMgdG8gaW5vdGlmeS4gVGhlIHByb2dyYW0gSSdtIHdvcmtpbmcgb24gc2hv dWxkIGFsc28gd29yayBvbiANCkxpbnV4LiBJJ20gY3VycmVudGx5IHdhbnQgdG8gaW1wbGVt ZW50IGJvdGggaW5vdGlmeSBhbmQga3F1ZXVlIGFuZCBtYWtlIA0KdGhlIHByZXByb2Nlc3Nv ciBwaWNrIHRoZSByaWdodCBvbmUgd2hlbiBjb21waWxpbmcuDQoNCkJ1dCBJIGRpZG4ndCBr bm93IGlub3RpZnkgZm9yIEJTRCBleGlzdHMuIFRoaXMgd291bGQgbWVhbiB0aGF0IEkgDQp3 b3VsZG4ndCBoYXZlIHRvIGltcGxlbWVudCB0aGUgZGlyZWN0b3J5IG1vbml0b3JpbmcgdHdp Y2UuIEknbGwgdGFrZSANCnRoaXMgaW50byBjb25zaWRlcmF0aW9uLiBUaGFua3MhDQo= --------------7Y3eEWeT0xyk0yf2HOAdrU4n-- --------------zR7es85qzLzC22mOV3txUPGH Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEew9YpeDxouoRV4pzGhTLNGTL5b8FAmL39toACgkQGhTLNGTL 5b8TUAv9EvMrzIzX4uVvlS0odAjTuyUWXSmVMDk0bwKuuvNLNJyPQ+9ctk9e9YuX CkjaxZlCEJY1M3ZKPNkZ+Xrr1nfy7bQG9MG3HfjzclDpa1ms5jsnurpOWmGwbTIK qFTwvbST99hFRbXE9fEyvEPewwA3F5ProdpmMNjtvn5eAMPDfuweJY6C/oObDabl 7pWvVnguaiDcfLabwMtrWhQlULqh6LpPw4PJ7l0thH4Q83cWp8aLA0yu1wlKZP3G wQ5pH+961RYHaF9iMpoH3BNd5w3XG7cDXOKqdnvy+VvXf/JYaWks/xycLYW0IYDz 9DqHn5cVUTwzjM7dBY1yqVG2I/AzuRlKH9iEtqaJIlBq+86HeSf8gcybK/H/Dqs5 rxAwxgzn2cRNe99eCJbTmlgr0grCACH9GgwYjXK+fJS29uENheN7Ltx9L0Z5fsLm HBJ0TiMQWH4eAN8kxM4I7ctZhtWgEEptlXQfV+8U93tXcFQAWHjTRL+0GNhNaAFx 7Ozcg1Qr =LZ+R -----END PGP SIGNATURE----- --------------zR7es85qzLzC22mOV3txUPGH--