Skip to contentSkip to conversation

Enhancement of /proc/partitions output (2.5.1-pre5)

PATCH [email protected] 1 participant 1 message Dec 1, 2001

lore
Share & tools
lore
#0 lore raw

From: Anton Altaparmakov <[email protected]>

Linus,

Please consider below patch which adds the starting sector and number of sectors to /proc/partitions.

It works fine here and I find having this information output can be very useful (especially when the values in the kernel don't match the values output by fdisk for example).

Of course this breaks all programs that use /proc/partitions, like fdisk and mount. Every system that uses mount-by-label will be broken.

Andries