changed Usage to Free because calculation was showing it wrong :)
This commit is contained in:
parent
b5e6e2cfd7
commit
2fe1586c76
@ -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"]
|
||||
|
Reference in New Issue
Block a user