Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2024 20:09:19 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 839a522e2ec3 - releng/14.1 - intro.2 as errno.2: Update maximum hard link limit
Message-ID:  <202405212009.44LK9JXf043892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/14.1 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=839a522e2ec3577de877bfc4e8baa363ff4a8f08

commit 839a522e2ec3577de877bfc4e8baa363ff4a8f08
Author:     Alexander Ziaee <concussious@runbox.com>
AuthorDate: 2024-05-04 14:54:20 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-21 20:08:58 +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
    
    (cherry picked from commit 6dfbe695c3223822734dddc926415a3ba347b42c)
    (cherry picked from commit 828e648b26ea1d3d77a63eea395bba56b5109f2d)
    Approved-by: re (cperciva)
---
 lib/libc/sys/intro.2 | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2
index 5b8f437567b8..2232d56707a7 100644
--- a/lib/libc/sys/intro.2
+++ b/lib/libc/sys/intro.2
@@ -229,8 +229,13 @@ system call was issued on a socket, pipe or
 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 (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
 .Tn FIFO



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405212009.44LK9JXf043892>