RTEMS: rtems_bdpart_format Union Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
rtems_bdpart_format Union Reference
Device Drivers » Block Device Library » Block Device Partition Management

`#include <bdpart.h>`

## Data Fields
rtems_bdpart_format_type | type
struct {
rtems_bdpart_format_type type
uint32_t disk_id
bool dos_compatibility
} | mbr
struct {
rtems_bdpart_format_type type
uuid_t disk_id
} | gpt

## Detailed Description

Disk format description.

## Field Documentation

## ◆ disk_id [1/2]

uint32_t rtems_bdpart_format::disk_id

Disk ID in MBR at offset 440.

## ◆ disk_id [2/2]

uuid_t rtems_bdpart_format::disk_id

Disk ID in GPT header.

## ◆ dos_compatibility

bool rtems_bdpart_format::dos_compatibility

This option is used for partition table creation and validation checks before a write to the disk. It ensures that the first primary partition and the logical partitions start at head one and sector one under the virtual one head and 63 sectors geometry. Each begin and end of a partition will be aligned to the virtual cylinder boundary.

## ◆

struct { ... } rtems_bdpart_format::gpt

GPT format fields.

## ◆

struct { ... } rtems_bdpart_format::mbr

MBR format fields.

## ◆ type

rtems_bdpart_format_type rtems_bdpart_format::type

Format type.

The documentation for this union was generated from the following file:

- cpukit/include/rtems/bdpart.h