Subject: df output with a really large filesystems
To: None <tech-userlevel@netbsd.org>
From: Chuck Cranor <chuck@ece.cmu.edu>
List: tech-userlevel
Date: 03/24/2004 22:25:56
i have a new netapp filer with alot of disk:
filer> df -h
Filesystem total used avail capacity Mounted on
/vol/vol0/ 1147GB 132MB 1147GB 0% /vol/vol0/
when i NFS mount it and do "df" on a -current box I get:
% df /filer
Filesystem 1K-blocks Used Avail Capacity Mounted on
filer:/ -944424056 136032 -944560088 0% /filer
%
hmm. would it hurt to make df treat those values as unsigned?
i also noticed that statfs "struct statfs" has f_blocks (et al.) as
type "long" ... wondering if it should be a 64 bit value?
chuck