commit | 3b4977638f48e59d23d7ea2bb6dde78552c257fb | [log] [tgz] |
---|---|---|
author | caozhiyuan <cao.zhiyuan@zte.com.cn> | Tue May 19 17:21:00 2015 +0800 |
committer | caozhiyuan <cao.zhiyuan@zte.com.cn> | Fri May 29 13:32:49 2015 +0800 |
tree | 5f06eed3b6012bf5cf38acee7e94f2f489c209c7 | |
parent | aa4df5c45b99438282db3a94cb7682c480e0eccd [diff] |
Use f_bavail to calculate free space Failures are seen on devices with Linux 3.10. And they are mainly due to this change: https://lwn.net/Articles/546473/ The blocks reserved in this change is not the same thing as what we think are reserved for common usage of root user. And this part is included in free blocks but not in available blocks. Change-Id: Ib29e12d775b86ef657c0af7fa7a944d2b1e12dc8