commit | 9ff8ece57d46a9419fc60057547810824881bb45 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Jun 17 19:58:29 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Jun 17 21:08:49 2008 -0400 |
tree | b92629e7841efa0a27648855369591207bbab251 | |
parent | cc19b958602775ef48f347d16859ce6623a385da [diff] |
mke2fs, tune2fs, resize2fs: Use floating point to calculate percentages When calculating the number reserved blocks, use floating point for better accuracy, since for big filesystems it really makes a difference. In addition, mke2fs and tune2fs accepts a floating point number from the user, so they should provide that level of accuracy. Addresses-Debian-Bug: #452639 Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>