DISKST(8) — Unix Programmer’s Manual
NAME
diskst − determine and print disk geometry
SYNOPSIS
diskst diskname
DESCRIPTION
diskst uses ioctls to determine the geometry of the specified disk. When invoked in the C-shell, diskst prints the disk geometry on the standard output.
diskname can be either an exact pathname, such as /dev/rsm0a, or a disk name, such as sm0.
EXAMPLE
2% diskst /dev/rsm0a
ntracks =24
nsectors =48
ncylinders =710
partition a: size=15884, offset=0
partition b: size=66880, offset=14
partition c: size=817920, offset=0
partition d: size=15884, offset=326
partition e: size=307200, offset=340
partition f: size=118464, offset=607
partition g: size=442176, offset=326
partition h: size=291346, offset=73
4th Berkeley Distribution — 21 September 1987