partsize(1M) partsize(1M)
NAME
partsize - return the size of the active UNIX System partition
SYNOPSIS
partsize [-ds] 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 = 2E20 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 (for example, /dev/rdsk/0s0 or
/dev/rdsk/c0b0t0d0s0).
Options
partsize takes the following options:
-d Displays the disk geometry and the configuration layout
of the four optional disk partitions. Disk partitions
are initialized using the fdisk(1M) command. Unused
partition entries contain the value 100 in the OS field.
-s Displays the size of the entire disk in megabytes. The
value can be greater than the size of the UNIX System
partition if multiple partitions were allocated.
Files
/dev/rdsk/0s0
/dev/rdsk/1s0
/dev/rdsk/cCbBtTdDsS see sd01(7) for an explanation of
device name notation
REFERENCES
fdisk(1M), sd01(7)
Copyright 1994 Novell, Inc. Page 1