dd


Description:

[ Version ( deprecated = true , since = "1.0.80" ) ]
public bool dd (string src, string dest) throws Error

Warning: dd is deprecated.

copy from source to destination using dd

Note:

In new code, use copy_device_to_device instead

This command copies from one source device or file src to another destination device or file dest. Normally you would use this to copy to or from a device or partition, for example to duplicate a filesystem.

If the destination is a device, it must be as large or larger than the source file or device, otherwise the copy will fail. This command cannot do partial copies (see copy_device_to_device).

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error