ldmtool_scan_devices


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.20.0" ) ]
public string[] ldmtool_scan_devices (string[] devices) throws Error

scan for Windows dynamic disks

This function scans for Windows dynamic disks. It returns a list of identifiers (GUIDs) for all disk groups that were found. These identifiers can be passed to other "guestfs_ldmtool_*" functions.

The parameter devices is a list of block devices which are scanned. If this list is empty, all block devices are scanned.

This function depends on the feature "ldm". See also feature_available.

Parameters:

this

A GuestfsSession object

devices

an array of strings

Returns:

an array of returned strings, or NULL on error