git: 4d7c715bd954 - stable/13 - filemon: Document how to build into the kernel.

From: Dag-Erling Smørgrav <des_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 16:46:59 UTC
The branch stable/13 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=4d7c715bd954eda85fbfff410f448fe3d816deec

commit 4d7c715bd954eda85fbfff410f448fe3d816deec
Author:     Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-07-30 19:04:16 +0000
Commit:     Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-08-01 16:46:19 +0000

    filemon: Document how to build into the kernel.
    
    MFC after:      3 days
    Reviewed by:    olce, imp
    Differential Revision:  https://reviews.freebsd.org/D46184
    
    (cherry picked from commit 057453ffdf57bdfcbadb5d1834d425812e01ff43)
    
    filemon: Not an option.
    
    MFC after:      3 days
    
    (cherry picked from commit b4e4512d4669267fb220b7c1a2844c506673a3ce)
---
 share/man/man4/filemon.4 | 4 +++-
 sys/conf/NOTES           | 3 +++
 sys/conf/options         | 1 -
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/share/man/man4/filemon.4 b/share/man/man4/filemon.4
index c2b077059ef2..6e7d05aeea13 100644
--- a/share/man/man4/filemon.4
+++ b/share/man/man4/filemon.4
@@ -29,13 +29,15 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd February 1, 2022
+.Dd July 30, 2024
 .Dt FILEMON 4
 .Os
 .Sh NAME
 .Nm filemon
 .Nd the filemon device
 .Sh SYNOPSIS
+.Cd device filemon
+.Pp
 .In dev/filemon/filemon.h
 .Sh DESCRIPTION
 The
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index c688f7947123..46800301657a 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2847,3 +2847,6 @@ device		xz		# xz_embedded LZMA de-compression library
 
 # Kernel support for stats(3).
 options 	STATS
+
+# File system monitoring
+device		filemon		# file monitoring for make(1) meta-mode
diff --git a/sys/conf/options b/sys/conf/options
index 6a45645c376a..a62380b1efe2 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -100,7 +100,6 @@ DEADLKRES	opt_watchdog.h
 EXPERIMENTAL	opt_global.h
 EXT_RESOURCES	opt_global.h
 DIRECTIO
-FILEMON		opt_dontuse.h
 FFCLOCK
 FULL_PREEMPTION	opt_sched.h
 GZIO		opt_gzio.h