DescriptionCompute available disk space in Files.app by statvfs.f_bavail, not .f_bfree.
f_bavail is more appropriate because it tells the amount
of disk space that is available to a non-privileged user.
(Writing to Downloads/ indeed stops working if f_bavail=0.)
BUG=268705
TEST=Checked the gear menu value matches with what chrome:drive-internals shows.
R=hidehiko@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215815
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|