summaryrefslogtreecommitdiff
path: root/doc/git-annex-readpresentkey.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-02 16:29:29 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-02 16:31:15 -0400
commit18327a1de06e290d762c1e397ee3fc308059d770 (patch)
tree481b813c917e330e1ded6e89cbbb8cc35935e0da /doc/git-annex-readpresentkey.mdwn
parenta4e008627b3f853d3d4de3d997a392bb489349a1 (diff)
Ported disk free space checking code to work on Solaris.
On Solaris, using f_bsize provided a value that is apparently much larger than the real block size. The solaris docs for statvfs say f_bsize is the "preferred" file system block size, and I guess the filesystem prefers larger blocks, but uses smaller ones or something. The docs also say that f_frsize is the "fundamental" block size. Switched to using f_frsize on Linux and kFreeBSD too, since I guess f_bsize could in theory vary the same way there too. Assuming that Solaris is not violating the posix spec, I guess the linux man page for statvfs is not as well written and I misunderstood it.
Diffstat (limited to 'doc/git-annex-readpresentkey.mdwn')
0 files changed, 0 insertions, 0 deletions