Fix imaging whole devices
This commit is contained in:
parent
703224d891
commit
35286ddb8b
1 changed files with 6 additions and 0 deletions
|
|
@ -452,6 +452,12 @@ class State():
|
||||||
hw_disk.Disk(self.source.path),
|
hw_disk.Disk(self.source.path),
|
||||||
pathlib.Path(self.destination.path),
|
pathlib.Path(self.destination.path),
|
||||||
)
|
)
|
||||||
|
if self.mode == 'Image':
|
||||||
|
source_parts.append(hw_disk.Disk(self.source.path))
|
||||||
|
self.add_block_pair(
|
||||||
|
hw_disk.Disk(self.source.path),
|
||||||
|
self.destination,
|
||||||
|
)
|
||||||
|
|
||||||
# Update SMART data
|
# Update SMART data
|
||||||
## TODO: Verify if needed
|
## TODO: Verify if needed
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue