I'm not a linux pro, and maybe I have overlooked something in the docs, but:
df -ah, for instance, returns automatically largest unit: M / G / T.
simply df with no options, returns, what I assume are sectors not bytes.
parted /dev/sda1 unit B print
It displays in bytes, but it does not return the used / available bytes.
I have heard about converting sectors to actual sizes, but I have no idea how would I do that.
How could I return the actual bytes of partition?
df -B1– speakr Aug 30 '12 at 10:49parted /dev/sdd1 unit B print==3221225472B==3221225472, wheredf -B1 -a | grep /dev/sdd1forUsed+Available==1152532480+1857056768=3009589248. And3221225472-3009589248=211636224. In that case, where have those 201MiB's went? – joltmode Aug 30 '12 at 11:19dfreports file system sizes,partedreports partition sizes. The difference is caused by file system overhead. – speakr Aug 30 '12 at 11:36