Updated ddrescue.py
This commit is contained in:
parent
4049272cbb
commit
10e978d4c5
1 changed files with 1141 additions and 1141 deletions
|
|
@ -476,7 +476,7 @@ def create_path_obj(path):
|
||||||
|
|
||||||
|
|
||||||
def double_confirm_clone():
|
def double_confirm_clone():
|
||||||
"""Display warning and get 2nd confirmation from user, returns bool."""
|
"""Display warning and get 2nd confirmation, returns bool."""
|
||||||
print_standard('\nSAFETY CHECK')
|
print_standard('\nSAFETY CHECK')
|
||||||
print_warning('All data will be DELETED from the '
|
print_warning('All data will be DELETED from the '
|
||||||
'destination device and partition(s) listed above.')
|
'destination device and partition(s) listed above.')
|
||||||
|
|
@ -1283,7 +1283,7 @@ def select_device(description='device', skip_device=None):
|
||||||
|
|
||||||
|
|
||||||
def setup_loopback_device(source_path):
|
def setup_loopback_device(source_path):
|
||||||
"""Setup a loopback device for source_path, returns dev_path as str."""
|
"""Setup loopback device for source_path, returns dev_path as str."""
|
||||||
cmd = (
|
cmd = (
|
||||||
'losetup',
|
'losetup',
|
||||||
'--find',
|
'--find',
|
||||||
|
|
@ -1360,4 +1360,4 @@ def update_sidepane(state):
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("This file is not meant to be called directly.")
|
print("This file is not meant to be called directly.")
|
||||||
|
|
||||||
# vim: sts=4 sw=4 ts=4
|
# vim: sts=2 sw=2 ts=2
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue