From nobody Sat Aug 13 12:16:33 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 4M4ffn2c9Kz4Z8DC for ; Sat, 13 Aug 2022 12:16:49 +0000 (UTC) (envelope-from meator.dev@gmail.com) Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) (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 4M4ffm2ssHz3k9j for ; Sat, 13 Aug 2022 12:16:48 +0000 (UTC) (envelope-from meator.dev@gmail.com) Received: by mail-ej1-x629.google.com with SMTP id w19so6063839ejc.7 for ; Sat, 13 Aug 2022 05:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc; bh=1N09lH6ShsgukPIiYjH5mFOSg5bzw8HH7IPy+abupqg=; b=CiK+6Pzcg/uSPm0qts+VllbJMiSgLQ2be9H8pUPQWuUcWWvA/jRxBPKXuLgWwoeQDB 6XFgW3mmewM9aTWoTSXK9zCpGhtnSgUFi8kyuZJNS+/Vzuw+S98ZI2ghiuiNIFp53Y3q NwLcW3KfQ4cXCax9POdiXm24KUDZUkQwg7nPDu3/WYRcgah/OSHvwzwCKY8YpOcfQg4I 6uyV4BQAnk/c+r/fqo4ZR2eX3gqRfCAotOZts4aD3wyiz4JLVMWqIaXcZcObCEU/vu6w +3tcZX2v/k//nEW6iUwQvAEqDzBNvrIlTTDePB7jMvqQQKDAyagv9awrimlKkHCqR1xJ GLnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc; bh=1N09lH6ShsgukPIiYjH5mFOSg5bzw8HH7IPy+abupqg=; b=LGgtRQxxRQmxPS13b145KWcWb7Uhtu9gEQaopXB1CNl4PPAnlk12tIz1b4Gr82HX33 iUpq/cZjMT+X9jErutBmsljHqVaqXVRXX3OerIscV6D4lr87iPJ6rRXph5RoT19sIg2G GgCVOWFwTz2kLp3iIOpulace/4HEaZl88JR4fvLEtk5fceiQI6Oo6HXeD4JMR8DKk6XA Jnoy0rhb14LnE0Ly6HQbvi9qS9eCpVbAHX7deHvE3dYVdFafr5ToW23o/GeXhfDxnBiP Vm8WychLrOlx59DqgwNHdVQcRiM46Itsbut06xVAErS0RNuxnzFrv6ALGTEcsozLw/CQ kQSw== X-Gm-Message-State: ACgBeo3BKowLU3A9hkL/jk9BtvxSMpNgb9xkzZsGckTSvYHdHkcHUW0Y DQzlHe5o5urDory9L9B8evTv8P+AfOo= X-Google-Smtp-Source: AA6agR7t7JAoBoVMO7h8fYyAtFcxiHzoaiMogibnw5Lqmjoq2t/ltQwbcv3rl8pVlg9PG63XTdSToA== X-Received: by 2002:a17:907:3f94:b0:731:6473:b36c with SMTP id hr20-20020a1709073f9400b007316473b36cmr5503863ejc.525.1660393004065; Sat, 13 Aug 2022 05:16:44 -0700 (PDT) Received: from [192.168.0.109] ([91.187.59.126]) by smtp.gmail.com with ESMTPSA id x4-20020a1709065ac400b00730b3bdd8d7sm1838861ejs.179.2022.08.13.05.16.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 13 Aug 2022 05:16:43 -0700 (PDT) Message-ID: <652f3c12-388c-04d0-ebeb-753b76b2b742@gmail.com> Date: Sat, 13 Aug 2022 14:16:33 +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 Content-Language: en-US To: freebsd-hackers@FreeBSD.org From: meator Subject: How to monitor a directory in FreeBSD? Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------maHW3ECKvLTYDPswhJhd8K0H" X-Rspamd-Queue-Id: 4M4ffm2ssHz3k9j X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=CiK+6Pzc; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of meator.dev@gmail.com designates 2a00:1450:4864:20::629 as permitted sender) smtp.mailfrom=meator.dev@gmail.com X-Spamd-Result: default: False [-2.01 / 15.00]; SIGNED_PGP(-2.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_SPAM_MEDIUM(0.98)[0.980]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_BASE64_TEXT(0.10)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; HAS_ATTACHMENT(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::629:from]; MIME_TRACE(0.00)[0:+,1:+,2:+,3:~]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org] X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------maHW3ECKvLTYDPswhJhd8K0H Content-Type: multipart/mixed; boundary="------------ipNNRhgmHEt810wVweLljYyv"; protected-headers="v1" From: meator To: freebsd-hackers@FreeBSD.org Message-ID: <652f3c12-388c-04d0-ebeb-753b76b2b742@gmail.com> Subject: How to monitor a directory in FreeBSD? --------------ipNNRhgmHEt810wVweLljYyv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 SGVsbG8uIEknbSB3b3JraW5nIG9uIGEgQyBwcm9ncmFtIHRoYXQgbmVlZHMgdG8ga25vdyB3 aGV0aGVyIGZpbGVzIGFuZCANCmRpcmVjdG9yaWVzIGluIGEgc3BlY2lmaWMgZGlyZWN0b3J5 IHdlcmUgYWRkZWQsIG1vZGlmaWVkIG9yIGRlbGV0ZWQuIChJdCANCnNob3VsZCBhbHNvIGJl IGRvbmUgcmVjdXJzaXZlbHkgZm9yIGFsbCBzdWJkaXJlY3RvcmllcywgYnV0IHRvIGtlZXAg aXQgDQpzaW1wbGUgSSBkb24ndCB0YWtlIHJlY3Vyc2lvbiBpbnRvIGFjY291bnQuIEl0IHNo b3VsZG4ndCBiZSB0aGF0IGhhcmQgdG8gDQppbXBsZW1lbnQgaXQgYWZ0ZXIgSSB3aWxsIGJl IGFibGUgdG8gbW9uaXRvciBhIGRpcmVjdG9yeSBub25yZWN1cnNpdmVseS4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------maHW3ECKvLTYDPswhJhd8K0H Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEew9YpeDxouoRV4pzGhTLNGTL5b8FAmL3liIACgkQGhTLNGTL 5b9dqwv/fMMoSaquAPSEK9nDvQymWQli06jhZ0DdR6J1C1+J2S2AtFlmDNmIsonD gwlxoD1ymZmMCk6x5GXOo5Hi/0bx6F8osGUOnfWZbHiOVqZAJWGweL+SdvuyaN0t Qzq6ZwVfa6EDFywi0ML0+3seFsx+zTLRfT+2rB09j5Lc6uU7K2+Q0DWCUXmU1vv+ b4PD4C9CZBqHrBUremPvlBv/AL/fnmvXv9YmM0x3UbbfoIZdO8l5WzTp6MJ+VFF7 HQxANUtslRids1x4iEeg1I6dV3A6vCHAsbbpXF2N8QkJ5t6rpMkInT33GEfYK10e FCB1nq2HDKWPxr+faCUOo3QM5fsDhq1jGolP9Dxf33TJWEgxW9J0zg4bhTIA5C8K Wtbc/KaXBtKSAgfi5phM2MY7xyLvCwkS+qqW0S2HykTCUy7w12n0enIJivywfhNo goiPO+HOs91NAgGqwrZQXnURQ915ro+fS2cF179YJW7IW3yQZJ4DzHYKzhfd95QO ulTwE/Oj =rVe0 -----END PGP SIGNATURE----- --------------maHW3ECKvLTYDPswhJhd8K0H--