partsize(1M) UNIX System V(Base System) partsize(1M)
NAME
partsize - returns the size of the active UNIX System partition
SYNOPSIS
partsize raw-device
DESCRIPTION
The function of partsize is to print the size of the active UNIX System
partition for the raw-device disk drive. The size value returned is in
megabytes (MB = 2^20 bytes). This command is intended for use with the
installation scripts, but is available for general use. If the system
cannot retrieve a valid partition table, there will be a non-zero exit
value. If a valid partition table is found, but no active UNIX system
partition is found, it will display a value of zero.
raw-device the required raw-device argument is the character special
device for the disk drive to be accessed. It should be the
slice 0 device to represent the entire device (e.g.,
/dev/rdsk/0s0 or /dev/rdsk/c0t0d0s0).
FILES
/dev/dsk/0s0
/dev/rdsk/1s0
/dev/rdsk/c?t?d?s0
SEE ALSO
fdisk(1M).
10/89 Page 1