From nobody Tue Jul 30 09:38:57 2024 X-Original-To: freebsd-current@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 4WY9Cy4431z5Rd3q for ; Tue, 30 Jul 2024 09:39:10 +0000 (UTC) (envelope-from SRS0=rmLG=O6=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WY9Cy1mHXz4Hlg; Tue, 30 Jul 2024 09:39:10 +0000 (UTC) (envelope-from SRS0=rmLG=O6=quip.cz=000.fbsd@elsa.codelab.cz) Authentication-Results: mx1.freebsd.org; none Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2A797D7891; Tue, 30 Jul 2024 11:39:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1722332342; bh=H0IHN8n03lRS6yjMe1Fsnk23uYobb3aaFdH/yFKm0Vg=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=z7zCKGAG2q8KvrLd+7/6UHYC3865pn2WWQStTqPqqH73xh4ZURMsJ3WbXl9/FNCtT cI2YR74bFae3LWKCeGZenJRR1raJsIff1cIZCdn3y/GGSEWaUp4bqe4dbJmVjxKtmw nl3IKxnqJSy4WE4QaZ9E/DjwXfhcBIZNGYYoVjrk= Received: from [192.168.145.49] (ip-89-177-27-225.bb.vodafone.cz [89.177.27.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id AF6A5D7896; Tue, 30 Jul 2024 11:38:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quip.cz; s=private; t=1722332337; bh=H0IHN8n03lRS6yjMe1Fsnk23uYobb3aaFdH/yFKm0Vg=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=YqB7yYgBlnCz49fJR0D2NKl3onF6EWoCL+UKMiTAYkXhFBSuag2wOMS870QyAwmHQ 4vRWwRUrK0HGmQrgQocHNp5LRp05JOBgziTVSrOTXXMV2+v9ruN6BYCbLxT8uqnr1N EBwwT/9Lhtlr94g8pZ130OZ9udP+6PjQC9uNW5OI= Message-ID: Date: Tue, 30 Jul 2024 11:38:57 +0200 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: filemon To: =?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?= Cc: freebsd-current@freebsd.org References: <20240727170122.675f6bfe@ernst.home> <865xsn6ya9.fsf@ltc.des.dev> Content-Language: en-US From: Miroslav Lachman <000.fbsd@quip.cz> In-Reply-To: <865xsn6ya9.fsf@ltc.des.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ] X-Rspamd-Queue-Id: 4WY9Cy1mHXz4Hlg On 30/07/2024 11:10, Dag-Erling Smørgrav wrote: > Gary Jennejohn writes: [..] >> I also load it from /boot/loader.conf using filemon_load="YES" > > This does cause the module to be loaded at boot time, but it's slower > than loading it later, and it increases memory fragmentation. A better > option is to include "filemon" in the kld_list variable in /etc/rc.conf > or /etc/rc.conf.d/kld. For instance, > > % cat /etc/rc.conf.d/kld/filemon > kld_list="${kld_list} filemon" Does this also apply today? I recently read from someone on a mailing list that the kld_list in rc.conf is no longer needed, that any problems it used to solve are solved, and that the preferred way is to load everything from loader.conf. So I'm curious, what's the right thing to do then? (I load most of my modules from rc.conf) Kind regards Miroslav Lachman