fdisk
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
Karel Zak
maintainerQuoted 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
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