[ 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 .
| this |
A GuestfsSession object |
| source |
an array of strings |
| optargs |
a GuestfsBTRFSImage containing optional arguments |
|
true on success, false on error |