Class

FwupdPluginVolume

Description [src]

final class FwupdPlugin.Volume : GObject.Object
{
  /* No available fields */
}

Volume abstraction that uses UDisks.

Hierarchy

hierarchy this FuVolume ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

fu_volume_new_by_device

Finds the first volume from the specified device.

since: 1.8.2

fu_volume_new_by_devnum

Finds the first volume from the specified device.

since: 1.8.2

fu_volume_new_esp_for_path

Gets the platform ESP using a UNIX or UDisks path.

since: 1.8.2

Functions

fu_volume_kind_convert_to_gpt

Converts a MBR type to a GPT type.

since: 1.8.6

fu_volume_new_by_kind

Finds all volumes of a specific partition type.

since: 1.8.2

Instance methods

fu_volume_check_free_space

Checks the volume for required space.

since: 1.4.6

fu_volume_get_block_size

Gets the logical block size of the volume mount point.

since: 1.9.4

fu_volume_get_id

Gets the D-Bus path of the mount point.

since: 1.4.6

fu_volume_get_id_type

Return the IdType of the volume.

since: 1.5.2

fu_volume_get_mount_point

Gets the location of the volume mount point.

since: 1.4.6

fu_volume_get_partition_kind

Gets the partition kind of the volume mount point.

since: 1.8.13

fu_volume_get_partition_name

Gets the partition name of the volume mount point.

since: 1.9.10

fu_volume_get_partition_number

Gets the number of the partition.

since: 1.9.3

fu_volume_get_partition_offset

Gets the offset of the partition.

since: 1.9.3

fu_volume_get_partition_size

Gets the size of the partition.

since: 1.9.3

fu_volume_get_partition_uuid

Gets the UUID of the partition.

since: 1.9.3

fu_volume_get_size

Gets the size of the block device pointed to by the volume.

since: 1.9.3

fu_volume_is_encrypted

Checks if the VOLUME is currently encrypted.

since: 1.5.1

fu_volume_is_internal

Guesses if the drive is internal to the system.

since: 1.5.2

fu_volume_is_mounted

Checks if the VOLUME is already mounted.

since: 1.4.6

fu_volume_locker

Locks the volume, mounting it and unmounting it as required. If the volume is already mounted then it is is not unmounted when the locker is closed.

since: 1.4.6

fu_volume_mount

Mounts the VOLUME ready for use.

since: 1.4.6

fu_volume_unmount

Unmounts the volume after use.

since: 1.4.6

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

FwupdPlugin.Volume:mount-path

The UNIX mount path.

since: 1.4.6

FwupdPlugin.Volume:proxy-block

The proxy for the block interface.

since: 1.4.6

FwupdPlugin.Volume:proxy-filesystem

The proxy for the filesystem interface.

since: 1.4.6

FwupdPlugin.Volume:proxy-partition

The proxy for the filesystem interface.

since: 1.9.3

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FwupdPluginVolumeClass {
  GObjectClass parent_class;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.