Posts Tagged ‘df’

df on OSX now has inode statistics

On OS X Mountain Lion, df now has lots of extra inode information. This is the new default according to the man page (turning on -i). The workaround to get the old df output is simple – just use -P. So df is now aliased as: df -Ph

byte@lovegood~$ df -h
Filesystem      Size   Used  Avail Capacity  iused    ifree %iused  Mounted on
/dev/disk0s2   465Gi  237Gi  228Gi    51% 62130995 59797234   51%   /
byte@lovegood~$ df -Ph
Filesystem      Size   Used  Avail Capacity  Mounted on
/dev/disk0s2   465Gi  237Gi  228Gi    51%    /

Much friendlier.


i