Class

FwupdPluginVolume

Description [src]

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

Volume abstraction that uses UDisks.

Ancestors

  • GObject

Constructors

fu_volume_new_by_device

Finds the first volume from the specified device.

Available since: 1.8.2

fu_volume_new_by_devnum

Finds the first volume from the specified device.

Available since: 1.8.2

fu_volume_new_esp_for_path

Gets the platform ESP using a UNIX or UDisks path.

Available since: 1.8.2

Instance methods

fu_volume_check_free_space

Checks the volume for required space.

Available since: 1.4.6

fu_volume_get_id

Gets the D-Bus path of the mount point.

Available since: 1.4.6

fu_volume_get_id_type

Return the IdType of the volume.

Available since: 1.5.2

fu_volume_get_mount_point

Gets the location of the volume mount point.

Available since: 1.4.6

fu_volume_is_encrypted

Checks if the VOLUME is currently encrypted.

Available since: 1.5.1

fu_volume_is_internal

Guesses if the drive is internal to the system.

Available since: 1.5.2

fu_volume_is_mounted

Checks if the VOLUME is already mounted.

Available 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.

Available since: 1.4.6

fu_volume_mount

Mounts the VOLUME ready for use.

Available since: 1.4.6

fu_volume_unmount

Unmounts the volume after use.

Available since: 1.4.6

Properties

FwupdPlugin.Volume:mount-path

The UNIX mount path.

Available since: 1.4.6

FwupdPlugin.Volume:proxy-block

The proxy for the block interface.

Available since: 1.4.6

FwupdPlugin.Volume:proxy-filesystem

The proxy for the filesystem interface.

Available since: 1.4.6

Class structure

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

Functions

fu_volume_kind_convert_to_gpt

Converts a MBR type to a GPT type.

Available since: 1.8.6

fu_volume_new_by_kind

Finds all volumes of a specific partition type.

Available since: 1.8.2