git: 6dfbe695c322 - main - intro.2 as errno.2: Update maximum hard link limit

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sat, 04 May 2024 14:58:16 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6dfbe695c3223822734dddc926415a3ba347b42c

commit 6dfbe695c3223822734dddc926415a3ba347b42c
Author:     Alexander Ziaee <concussious@runbox.com>
AuthorDate: 2024-05-04 14:54:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-04 14:55:59 +0000

    intro.2 as errno.2: Update maximum hard link limit
    
    MFC after:      1 week
    Co-authored-by: brooks
    Reviewed by:    brooks, emaste, imp
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1192
---
 lib/libsys/intro.2 | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lib/libsys/intro.2 b/lib/libsys/intro.2
index 6e7abeb2c373..4f8a9e221e19 100644
--- a/lib/libsys/intro.2
+++ b/lib/libsys/intro.2
@@ -511,8 +511,13 @@ system call was issued on a socket, pipe or FIFO.
 An attempt was made to modify a file or directory
 on a file system that was read-only at the time.
 .It Er 31 EMLINK Em "Too many links" .
-Maximum allowable hard links to a single file has been exceeded
-.Pq limit of 32767 hard links per file .
+Maximum allowable hard links to a single file has been exceeded.
+This limit is a filesystem dependent variable
+.Po
+.Va UFS_LINK_MAX No on Xr ufs 4 ,
+.Va FUSE_LINK_MAX No on Xr fusefs 4 , and
+.Va TMPFS_MAX No on Xr tmpfs 4
+.Pc .
 .It Er 32 EPIPE Em "Broken pipe" .
 A write on a pipe, socket or FIFO for which there is no process to read
 the data.