I don't believe
fdisk does do 1k block reports - or that it reports on blocks at all. From the
- When listing partition tables, show sizes in sectors or in cylinders. The default is to show sizes in sectors. For backward compatibility, it is possible to use the option without the unit argument - then the default is used. Note that the optional unit argument cannot be separated from the
-u option by a space, the correct form is for example
fdisk doesn't list output as blocks, then. It uses cylinders or sectors by default. Well, here's what wikipedia has to say about a sector:
In computer disk storage, a sector is a subdivision of a track on a magnetic disk or optical disc. Each sector stores a fixed amount of user-accessible data, traditionally 512 bytes for hard disk drives (HDDs) and 2048 bytes for CD-ROMs and DVD-ROMs. Newer HDDs use 4096-byte (4 KiB) sectors, which are known as the Advanced Format (AF).
Now that makes more sense to me. I had never heard of a 1K sector before, and so stumbling upon this confused me. Some googling though did reveal that there was a small run of Seagate branded drives which shipped for a portion of the year 2005 that did report a sector size of 1K.
And anyway, it's right there in the header output:
Disk /dev/sda: 111.8 GiB, 120034123776 bytes, 234441648 sector
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: E12A6152-B1E6-4D4A-9799-491B339BA633
Device Start End Sectors Size Type
/dev/sda1 4096 6197247 6193152 3G EFI System
/dev/sda2 6293504 31459327 25165824 12G Linux filesystem
/dev/sda3 31459328 234441614 202982287 96.8G Linux filesystem
See? Units: sectors of 1 * 512 = 512 bytes...