 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Bottom of page |
|
DIOCGDEFPT(9r)
NAME
DIOCGDEFPT - Disk: Returns the default partition map for a disk
SYNOPSIS
#include <io/common/devio.h>
#include <sys/ioctl.h>
int ioctl(
dev_t dev,
register int DIOCGDEFPT,
caddr_t data,
int flag );
DESCRIPTION
The DIOCGDEFPT ioctl command returns a disk's default partition map to the
user data buffer. This information is returned in a pt_tbl structure, which
contains an array of partition structures, up to the maximum number of
partitions allowed on the device. The DIOCGDEFPT ioctl command can return
the partition map regardless of whether a valid disklabel exists on the
disk.
SEE ALSO
Kernel Interfaces: get_def_partitionmap(9r)
Data Structures: disklabel(9s), pt_tbl(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Top of page |
|