libparted 3.6
|
Typedefs | |
typedef struct _DosRawPartition | DosRawPartition |
typedef struct _DosRawTable | DosRawTable |
Functions | |
struct _DosRawPartition | __attribute__ ((packed)) |
PedGeometry * | fat_probe_fat16 (PedGeometry *geom) |
PedGeometry * | fat_probe_fat32 (PedGeometry *geom) |
uint8_t _GL_ATTRIBUTE_PURE | msdos_partition_get_type_id (const PedPartition *part) |
int | msdos_partition_set_type_id (PedPartition *part, uint8_t id) |
PedGeometry * | ntfs_probe (PedGeometry *geom) |
void | ped_disk_msdos_done () |
void | ped_disk_msdos_init () |
PT_define_limit_functions (msdos) | |
Variables | |
typedef | __attribute__ |
char | boot_code [440] |
uint8_t | boot_ind |
RawCHS | chs_end |
RawCHS | chs_start |
uint32_t | length |
uint16_t | magic |
uint32_t | mbr_signature |
DosRawPartition | partitions [DOS_N_PRI_PARTITIONS] |
uint32_t | start |
uint8_t | type |
uint16_t | Unknown |
#define _ | ( | String | ) | (String) |
#define DOS_N_PRI_PARTITIONS 4 |
#define MAX_CHS_CYLINDER 1021 |
#define MAX_TOTAL_PART 64 |
#define MSDOS_MAGIC 0xAA55 |
#define PART_FLAG_HIDDEN 0x10 /* Valid for FAT/NTFS only */ |
#define PARTITION_BLS_BOOT 0xea |
#define PARTITION_COMPAQ_DIAG 0x12 |
#define PARTITION_DELL_DIAG 0xde |
#define PARTITION_DOS_EXT 0x05 |
#define PARTITION_DOS_EXT_H (PARTITION_DOS_EXT | PART_FLAG_HIDDEN) |
#define PARTITION_EMPTY 0x00 |
#define PARTITION_ESP 0xef |
#define PARTITION_EXT_LBA 0x0f |
#define PARTITION_FAT12 0x01 |
#define PARTITION_FAT12_H (PARTITION_FAT12 | PART_FLAG_HIDDEN) |
#define PARTITION_FAT16 0x06 |
#define PARTITION_FAT16_H (PARTITION_FAT16 | PART_FLAG_HIDDEN) |
#define PARTITION_FAT16_LBA 0x0e |
#define PARTITION_FAT16_LBA_H (PARTITION_FAT16_LBA | PART_FLAG_HIDDEN) |
#define PARTITION_FAT16_SM 0x04 |
#define PARTITION_FAT16_SM_H (PARTITION_FAT16_SM | PART_FLAG_HIDDEN) |
#define PARTITION_FAT32 0x0b |
#define PARTITION_FAT32_H (PARTITION_FAT32 | PART_FLAG_HIDDEN) |
#define PARTITION_FAT32_LBA 0x0c |
#define PARTITION_FAT32_LBA_H (PARTITION_FAT32_LBA | PART_FLAG_HIDDEN) |
#define PARTITION_GPT 0xee |
#define PARTITION_HFS 0xaf |
#define PARTITION_HPFS 0x07 |
#define PARTITION_IRST 0x84 |
#define PARTITION_LDM 0x42 |
#define PARTITION_LINUX 0x83 |
#define PARTITION_LINUX_EXT 0x85 |
#define PARTITION_LINUX_LVM 0x8e |
#define PARTITION_LINUX_LVM_OLD 0xfe |
#define PARTITION_LINUX_RAID 0xfd |
#define PARTITION_LINUX_SWAP 0x82 |
#define PARTITION_MAGIC_MAGIC 0xf6f6 |
#define PARTITION_MSFT_RECOVERY 0x27 |
#define PARTITION_NTFS 0x07 |
#define PARTITION_NTFS_H (PARTITION_NTFS | PART_FLAG_HIDDEN) |
#define PARTITION_PALO 0xf0 |
#define PARTITION_PREP 0x41 |
#define PARTITION_SUN_UFS 0xbf |
#define PARTITION_UDF 0x07 |
typedef struct _DosRawPartition DosRawPartition |
typedef struct _DosRawTable DosRawTable |
struct _DosRawPartition __attribute__ | ( | (packed) | ) |
PedGeometry * fat_probe_fat16 | ( | PedGeometry * | geom | ) |
PedGeometry * fat_probe_fat32 | ( | PedGeometry * | geom | ) |
uint8_t _GL_ATTRIBUTE_PURE msdos_partition_get_type_id | ( | const PedPartition * | part | ) |
int msdos_partition_set_type_id | ( | PedPartition * | part, |
uint8_t | id | ||
) |
PedGeometry * ntfs_probe | ( | PedGeometry * | geom | ) |
void ped_disk_msdos_done | ( | ) |
void ped_disk_msdos_init | ( | ) |
PT_define_limit_functions | ( | msdos | ) |
typedef __attribute__ |
char boot_code[440] |
uint8_t boot_ind |
RawCHS chs_end |
RawCHS chs_start |
uint32_t length |
uint16_t magic |
uint32_t mbr_signature |
DosRawPartition partitions[DOS_N_PRI_PARTITIONS] |
uint32_t start |
uint8_t type |
uint16_t Unknown |