diff options
author | trociny <trociny@FreeBSD.org> | 2013-03-25 19:12:36 +0000 |
---|---|---|
committer | trociny <trociny@FreeBSD.org> | 2013-03-25 19:12:36 +0000 |
commit | d63246a757cde4bb6efc5ef5b63c866554be6f26 (patch) | |
tree | 9cbd794438b569fea8a2f50012cbbbbbb0a7a31f /libexec/fingerd | |
parent | fe83fcce74a0fc5b36b0b3aa414040f8d88c3a61 (diff) | |
download | FreeBSD-src-d63246a757cde4bb6efc5ef5b63c866554be6f26.zip FreeBSD-src-d63246a757cde4bb6efc5ef5b63c866554be6f26.tar.gz |
hrStorageSize and hrStorageUsed are 32 bit integers, reporting a fs
size and usage in hrStorageAllocationUnits. If the file system has
more than 2^31 allocations it can not be shown correctly and the
meters are useless.
In such cases follow net-snmp behaviour and increase
hrStorageAllocationUnits so the values fit under INT_MAX.
PR: bin/177183
Submitted by: Eugene Grosbein egrosbein rdtc.ru
MFC after: 2 weeks
Diffstat (limited to 'libexec/fingerd')
0 files changed, 0 insertions, 0 deletions