copy_size
Description:
[ Version ( deprecated = true , since = "1.0.87" ) ]
public bool copy_size (string src, string dest, int64 size) throws Error
public bool copy_size (string src, string dest, int64 size) throws Error
Warning: copy_size is deprecated.
copy size bytes from source to destination using dd
Note:
In new code, use copy_device_to_device instead
This command copies exactly size
bytes from one source device or file src
to another destination device or file
dest
.
Note this will fail if the source is too short or if the destination is not large enough.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |