[Bug 291301] statfs() no longer reporting statfs.f_fsid in jails
[email protected] Sun, 30 Nov 2025 14:29:41 +0000
| Newsgroups | gmane.os.freebsd.devel.standards |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291301
Bug ID: 291301
Summary: statfs() no longer reporting statfs.f_fsid in jails
Product: Base System
Version: 14.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: standards
Assignee: [email protected]
Reporter: [email protected]
As of FreeBSD 14.3, the statfs() call in jails seems to always return empty
(zeroed) statfs.f_fsid, specifically for zfs datasets managed (created and
mounted) by the jail.
This used to work fine (ie. an actual value was returned in `statfs.f_fsid`) in
FreeBSD 14.2 jails with enforce_statfs=1.
I have tested on FreeBSD 14.3 with both enforce_statfs=1 and enforce_statfs=0,
and the returned value is always zeroed.
This is quite annoying for software that needs to gather available/used disk
space among available mountpoints.
--
You are receiving this mail because:
You are the assignee for the bug.