Index Index for
Section 9
Index Alphabetical
listing for P
Bottom of page Bottom of
page

pt_tbl(9s)

NAME

pt_tbl - Disk: Stores a disk partition map

SYNOPSIS

struct pt_tbl { struct partition d_partitions[MAXPARTITIONS]; };

MEMBERS

d_partitions Specifies an array of partition structures, up to the maximum number of partitions allowed on the disk. The partition structure is defined by the disklabel structure. It contains the block size and offset of the partition, plus file system information.

DESCRIPTION

The pt_tbl structure contains a disk's partition map, which describes the partitions on the disk. The disk driver's open interface and the DIOCGDEFPT ioctl command use the pt_tbl structure to hold the disk's default partition map created by those interfaces. The disk driver's DIOCGCURPT and DIOCGDEFPT ioctl commands use the pt_tbl structure to return the current and default partition maps.

FILES

<sys/disklabel.h>

SEE ALSO

ioctl Commands: DIOCGCURPT(9r), DIOCGDEFPT(9r) Data Structures: disklabel(9s)

Index Index for
Section 9
Index Alphabetical
listing for P
Top of page Top of
page