Skip to contentSkip to conversation

fdisk

DISCUSSION Bruce Dubbs 3 participants 3 messages Jun 24, 2011 – Jun 27, 2011 Util-Linux package

lore
Share & tools
lore
#0 lore raw

In fdisk, printing a partition table gives the headers:

Device Boot Start End Blocks Id System

What's a block? It does not seem to be defined anywhere. Perhaps an update to the man page would be appropriate. A line in the explanation above the partition listing would be even better.

On my system, a block appears to be 2-512 byte sectors, but is it always so?

-- Bruce

maintainer
#1 lore raw
Quoted 2 lines · Bruce Dubbs

On my system, a block appears to be 2-512 byte sectors, but is it always so?

Yes. It's stupid legacy (the same thing you can found in /proc/partitions).

I hope that one day we will have better and nicer fdisk with human readable sizes ;-)

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com
#2 lore raw
Quoted 9 lines · On Monday, June 27, 2011 10:21:19 Karel Zak wrote:
Quoted 2 lines · Bruce Dubbs

On my system, a block appears to be 2-512 byte sectors, but is it always so?

Yes. It's stupid legacy (the same thing you can found in /proc/partitions).

I hope that one day we will have better and nicer fdisk with human readable sizes ;-)

and merge duplicated code with cfdisk ;)
-mike