_PedPartition Struct Reference
[PedPartition]

PedPartition structure represents a partition. More...


Data Fields

PedDiskdisk
void * disk_specific
const PedFileSystemTypefs_type
 Only used for an extended partition.
PedGeometry geom
 geometry of the partition the partition number: In Linux, this is the same as the minor number.
PedPartitionnext
 the partition table of the partition
int num
PedPartitionpart_list
PedPartitionprev
PedPartitionType type
 the type of partition: a bit field of PED_PARTITION_LOGICAL, PED_PARTITION_EXTENDED, PED_PARTITION_METADATA and PED_PARTITION_FREESPACE. The type of file system on the partition.


Detailed Description

PedPartition structure represents a partition.


Field Documentation

const PedFileSystemType* _PedPartition::fs_type

Only used for an extended partition.

The list of logical partitions (and free space and metadata within the extended partition).

PedGeometry _PedPartition::geom

geometry of the partition the partition number: In Linux, this is the same as the minor number.

No assumption should be made about "num" and "type"

PedPartitionType _PedPartition::type

the type of partition: a bit field of PED_PARTITION_LOGICAL, PED_PARTITION_EXTENDED, PED_PARTITION_METADATA and PED_PARTITION_FREESPACE. The type of file system on the partition.

Both the first two, and the last two are mutually exclusive. An extended partition is a primary partition that may contain logical partitions. There is at most one extended partition on a disk. A logical partition is like a primary partition, except it's inside an extended partition. Internally, pseudo partitions are allocated to represent free space, or disk label meta-data. These have the PED_PARTITION_FREESPACE or PED_PARTITION_METADATA bit set. NULL if unknown.


The documentation for this struct was generated from the following file:
Generated on Fri May 4 05:15:31 2007 for libparted by  doxygen 1.5.2