Skip to content

libfile: fix ETA on macOS and BSD-based systems#278

Open
AltraMayor wants to merge 1 commit into
masterfrom
bsd-fix
Open

libfile: fix ETA on macOS and BSD-based systems#278
AltraMayor wants to merge 1 commit into
masterfrom
bsd-fix

Conversation

@AltraMayor
Copy link
Copy Markdown
Owner

macOS and BSD-based systems have a statvfs(3) wrapper bug where fs.f_bfree is returned in units of 512-byte sectors while fs.f_frsize is returned in allocation block units (e.g. 4KB). This mismatch inflates ETA calculations by up to 8x.

This commit closes #277.

macOS and BSD-based systems have a statvfs(3) wrapper bug where
fs.f_bfree is returned in units of 512-byte sectors while
fs.f_frsize is returned in allocation block units (e.g. 4KB).
This mismatch inflates ETA calculations by up to 8x.

This commit closes #277.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The ETA in f3write 10.0 is incorrect.

1 participant