socialnerds/hive
Archived
1
0

changed Usage to Free because calculation was showing it wrong :)

This commit is contained in:
David 2012-05-21 22:32:47 +02:00
parent b5e6e2cfd7
commit 2fe1586c76

View File

@ -30,7 +30,7 @@ if __name__ == "__main__":
"\nUUID:\t\t%s" %(partition["uuid"]) + \
"\nMountpoint:\t%s" %(partition["mountpoint"]) + \
"\nFilesystem:\t%s" %(partition["filesystem"]) + \
"\nUsage:\t\t%s/%s" %(bytes2human(freebytes), bytes2human(totalbytes)) + \
"\nFree:\t\t%s/%s" %(bytes2human(freebytes), bytes2human(totalbytes)) + \
"\nFiles:\t\t%s\n" %(partition["files"])
else:
notmounted = notmounted + " " + partition["device"]