Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Mar 2016 08:19:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 207763] stat()'s st_nlink is capped to 32767
Message-ID:  <bug-207763-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207763

            Bug ID: 207763
           Summary: stat()'s st_nlink is capped to 32767
           Product: Base System
           Version: 10.3-BETA2
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: bra@fsn.hu

UFS limits the number of hard links to a file to signed 16 bit integers.
ZFS doesn't have this limit and allows creating millions of hardlinks to a
file.
The problem here is stat reports false values after 32767, it's capped to t=
hat
value.

It would be good to fix this legacy someday.

Discussed here:
https://lists.freebsd.org/pipermail/freebsd-fs/2016-March/022845.html

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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