[OpenAFS-devel] Brief proposal on numbers
Jim Rees
rees@umich.edu
Fri, 2 Nov 2007 13:43:39 -0400
John Hascall wrote:
I don't suppose it can be changed, but the whole idea
of measuring and doling out volume-quota using 1KB units
seems pretty silly these days.
After more thought, I now think we should be consistent with "df." We could
add a "-h" flag to "fs set/getquota" for those who don't want to count
zeros, and just use powers of ten (bytes). Then df can convert to blocks
internally.
% fs sq . 6T -h
% fs lq -h
Volume Name Quota Used %Used Partition
user.rees 6T
% fs lq
Volume Name Quota Used %Used Partition
user.rees 5859375000