Why does fdisk report a partition's "blocks" as number_of_sectors * sectors_size / 1024

Asked by Paul Driver

There is no definition of blocks or block size in the fdisk program or man page, I understand it's traditional for fdisk and Unix to behave this way, but putting "1K Blocks" adds three characters to the discription and would make things clear.

This is the kind of thing that happens when you show an accountant how something is done, like how to check that your SSD partitions are on 4Kbyte boundaries, and he wants to know why the numbers don't add up.

This irked him. Really it did.

I've gone 20+ years, just knowing that a block, to *nix is 1024 bytes, but I've never seen it in a man page.

LOLz

I've done my part.
(ps He's not signing my check until I post this)

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

Can you help with this problem?

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

To post a message you must log in.