the following:
* full path or a file-like object of the image to copy
- * full path or a file-like object of the destination file copy the image to
- * full path or a file-like object of the bmap file (optional)
+ * full path or a file object of the destination file copy the image to
+ * full path or a file object of the bmap file (optional)
* image size in bytes (optional)
Although the main purpose of this class is to use bmap, the bmap is not
image - file-like object of the image which should be copied,
should only support 'read()' and 'seek()' methods,
and only seeking forward has to be supported.
- dest - file-like object of the destination file to copy the
- image to.
- bmap - file-like object of the bmap file to use for copying.
+ dest - file object of the destination file to copy the image
+ to.
+ bmap - file object of the bmap file to use for copying.
image_size - size of the image in bytes. """
self._xml = None
create an instance of 'BmapCreate' and provide:
* full path or a file-like object of the image to create bmap for
- * full path or a file-like object to use for writing the results to
+ * full path or a file object to use for writing the results to
Then you should invoke the 'generate()' method of this class. It will use
the FIEMAP ioctl to generate the bmap. """
""" Initialize a class instance:
* image - full path or a file-like object of the image to create bmap
for
- * bmap - full path or a file-like object to use for writing the
- resulting bmap to """
+ * bmap - full path or a file object to use for writing the resulting
+ bmap to """
self.image_size = None
self.image_size_human = None