Page MenuHomeFreeBSD

Fix linux_fstatfs().
ClosedPublic

Authored by trasz on Feb 20 2017, 5:30 PM.
Tags
None
Referenced Files
F131926722: D9692.id25442.diff
Sun, Oct 12, 6:40 AM
Unknown Object (File)
Thu, Sep 25, 5:29 PM
Unknown Object (File)
Wed, Sep 17, 2:08 PM
Unknown Object (File)
Mon, Sep 15, 1:05 AM
Unknown Object (File)
Aug 18 2025, 3:10 AM
Unknown Object (File)
Aug 6 2025, 1:58 PM
Unknown Object (File)
Aug 4 2025, 6:40 AM
Unknown Object (File)
Jul 31 2025, 9:23 AM
Subscribers

Details

Summary

Fix linux_fstatfs() to return proper value for f_frsize. Without it,
linux df(1) binary from Xenial shows garbage.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz retitled this revision from to Fix linux_fstatfs()..
trasz updated this object.
trasz edited the test plan for this revision. (Show Details)

what about struct statfs64?

trasz edited edge metadata.

Handle 32 bits as well. Note that this is completely untested.

dchagin edited edge metadata.
This revision is now accepted and ready to land.Feb 22 2017, 5:42 PM
This revision was automatically updated to reflect the committed changes.