◐ Shell
clean mode source ↗

fs: expose frsize field in statfs by verycosy · Pull Request #62277 · nodejs/node

@nodejs-github-bot added c++

Issues and PRs that require attention from people who are familiar with C++.

lib / src

Issues and PRs related to general changes in the lib or src directory.

needs-ci

PRs that need a full CI run.

labels

Mar 16, 2026

addaleax

@addaleax addaleax added fs

Issues and PRs related to the fs subsystem / file system.

semver-minor

PRs that contain new features and should be released in the next minor version.

author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

request-ci

Add this label to start a Jenkins CI on a PR.

labels

Mar 16, 2026

juanarbol

@addaleax addaleax added libuv

Issues and PRs related to the libuv dependency or the uv binding.

and removed author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

labels

Mar 17, 2026
Expose `f_frsize` from libuv's `uv_statfs_t` as `statfs.frsize`.

Per POSIX, `f_blocks`, `f_bfree`, and `f_bavail` are expressed in
units of `f_frsize`, not `f_bsize`. On most filesystems the two
values are typically equal, but some filesystem drivers report a
different `f_bsize`, making it impossible to compute accurate disk
usage without `frsize`.

Refs: libuv/libuv#4983

gurgunday

@lpinca lpinca added the commit-queue

Add this label to land a pull request using GitHub Actions.

label

Mar 31, 2026