cache size = "max"
1 unresolved thread
1 unresolved thread
Closes #524 (closed)
Merge request reports
Activity
added usability label
172 173 return 1; 173 174 } 174 175 176 static unsigned long partition_size(const char *path) 177 { 178 int ret; 179 struct statvfs buf; 180 181 if (!path) 182 return 0; 183 184 ret = statvfs(path, &buf); 185 if (ret != 0) 186 return 0; 187 188 return buf.f_bsize * buf.f_bavail; To me the main "proof"/argument is the
f_blocks
field:fsblkcnt_t f_blocks; /* Size of fs in f_frsize units */
Edited by Vladimír ČunátAnd here I see
__fsword_t f_bsize; /* Optimal transfer block size */
(i.e. sounds different than what we want)
Edited by Vladimír Čunát
As noted on #524 (closed), we're going for a different approach.
Please register or sign in to reply