btrfs_image


Description:

[ Version ( since = "1.29.32" ) ]
public bool btrfs_image (string[] source, string image, BTRFSImage? optargs) throws Error

create an image of a btrfs filesystem

This is used to create an image of a btrfs filesystem. All data will be zeroed, but metadata and the like is preserved.

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

Parameters:

this

A GuestfsSession object

source

an array of strings

optargs

a GuestfsBTRFSImage containing optional arguments

Returns:

true on success, false on error