Re: *Help!* Where is device partition info stored by the kernel?

Andries.Brouwer@cwi.nl
Thu, 12 Jun 1997 23:01:54 +0200


Mark Lord:

:: That info really should be available somehow at the user level.....

: There are ioctl's from the driver level that make some partition info
: available to user level. See "hdparm -g"

Ah, yes - much better than my "fdisk -s" - size not in blocks
but in sectors, and with explicit start.
That suffices to build a partition table describing the same
devices.