| Disk Utility Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | ||||
enum GduVolumeFlags; GduVolumePrivate; GduVolume;gboolean gdu_volume_is_allocated (GduVolume *volume);gboolean gdu_volume_is_recognized (GduVolume *volume); GduVolumeFlags gdu_volume_get_flags (GduVolume *volume); GduDrive * gdu_volume_get_drive (GduVolume *volume);
The GduVolume class is used to represent regions of a drive; typically it represents partitions (for partitioned devices) or the whole file system (for e.g. optical discs and floppy disks).
See the documentation for GduPresentable for the big picture.
typedef enum {
GDU_VOLUME_FLAGS_NONE = 0x0000,
GDU_VOLUME_FLAGS_PARTITION = (1<<0),
GDU_VOLUME_FLAGS_PARTITION_MBR_LOGICAL = (1<<1),
GDU_VOLUME_FLAGS_PARTITION_MBR_EXTENDED = (1<<2)
} GduVolumeFlags;
Various flags for describing a volume.
| No flags set | |
| The volume is a partition. | |
| The volume is a Logical Partition in the MBR partitioning scheme. | |
| The volume is an Extended Partition in the MBR partitioning scheme. |
gboolean gdu_volume_is_recognized (GduVolume *volume);
|
|
Returns : |