PDA

View Full Version : Disk Free Outputing wrong number??


DexterII
Fri 21st Dec '01, 3:07pm
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda5 19038368 432756 17638504 3% /

------------------------------------------------------------------

Filesystem Size Used Avail Use% Mounted on
/dev/hda5 18G 423M 16G 3% /

Is it just me or is this not right?

18GB - 423M = 16GB ... WTF?


The wrong numbers started ever since I updated Bash inorder to update PHP.

JamesUS
Sun 23rd Dec '01, 12:04pm
I'm no expert, but it seems like you're seeing the unformatted capacity (18GB) versus the formatted capacity (16-17GB). So that is right in a way, just displaying the information in a confusing way.

eva2000
Sun 23rd Dec '01, 12:44pm
18 gb unformatted = 18,000,000 / (1024x0124) = 17.166 gb then there's the swap and boot partitions

DexterII
Sun 23rd Dec '01, 11:39pm
Right I set swap to 203 MB some reason it wouldn't let me do 200 even.

So does this mean anything is wrong with the format, and why it suddenly outputted these weird numbers after I updated bash?

DexterII
Wed 26th Dec '01, 3:09pm
Eh?

eva2000
Thu 27th Dec '01, 12:21am
Originally posted by DexterII
Eh? what's up ?

the size is correct ~17.166 formatted size take into account swap size, boot partition etc

DexterII
Thu 27th Dec '01, 3:51am
Ok, but why the sudden change after the bash update?