 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Bottom of page |
|
DEVGEOMST(9s)
NAME
DEVGEOMST - Disk: Stores disk device geometry
SYNOPSIS
typedef union devgeom {
struct {
unsigned long dev_size;
unsigned short ntracks;
unsigned short nsectors;
unsigned short ncylinders;
unsigned long attributes;
unsigned long sector_size;
unsigned long min_trans;
unsigned long max_trans;
unsigned long prefer_trans;
} geom_info;
unsigned char pad[108];
} DEVGEOMST;
MEMBERS
dev_size
Specifies the total number of sectors/blocks on the device available
for use.
ntracks
Specifies the number of tracks per cylinder. This number may not
actually reflect the number of tracks per cylinder but is an estimate
(RAID devices).
nsectors
Specifies an average number of sectors per track.
ncylinders
Specifies an average number of cylinders per track.
attributes
Specifies one of the following device attributes: DEVGEOM_REMOVE (a
removable device) or DEVGEOM_DYNAMIC (a dynamic geometry device).
sector_size
Specifies the number of bytes in the sector.
min_trans
Specifies the minimum number of bytes for the transfer size.
max_trans
Specifies the maximum number of bytes for the transfer size.
prefer_trans
Specifies the preferred number of bytes for the transfer size.
DESCRIPTION
The DEVGEOMST structure defines the size of tracks, cylinders, and sectors
on the disk, plus device attributes and the number of bytes that can be
transferred during a single I/O operation.
The DEVGETGEOM ioctl command uses this structure to return geometry
information to the user data buffer. The device driver's open interface and
the DEVGDEFPT ioctl command use DEVGEOMST to create a default partition
map.
FILES
<io/common/devio.h>
SEE ALSO
Kernel Interfaces: get_def_partitionmap(9r)
ioctl Commands: DEVGETGEOM(9r)
 |
Index for Section 9 |
|
 |
Alphabetical listing for D |
|
 |
Top of page |
|