Wrong file size calculation

Asked by Luis

When getting the properties of a file, the compacted size displayed is wrong. Some examples of files:
- 3,085,869,060 bytes is shown as 3.1 GiB when it should be 2.87 GiB (or 3.08 GB).
- 88,383,063 bytes is shown as 88.4 MB (correct)
- 385,209 bytes is shown as 385.2 KiB when it should be 376.1 KiB (or 385.2 KB)

It is clear that there is a bug that is showing GiB and KiB when it should read GB and KB (or have the right calculations done to show real GiB, MiB and KiB).

Regards,

Luis

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug if you suspect one

Can you help with this problem?

Provide an answer of your own, or ask Luis for more information if necessary.

To post a message you must log in.