list_partitions


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "0.4" ) ]
public string[] list_partitions () throws Error

list the partitions

List all the partitions detected on all block devices.

The full partition device names are returned, eg. /dev/sda1

This does not return logical volumes. For that you will need to call lvs.

See also list_filesystems.

Parameters:

this

A GuestfsSession object

Returns:

an array of returned strings, or NULL on error