Python Scripts: fix block size for badblocks scan
This commit is contained in:
parent
dae37954b3
commit
38ce2b272a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ def check_partition_table(device, log_file):
|
|||
|
||||
def run_badblocks(device, log_file):
|
||||
print("Running non-destructive read-only badblocks check (this may take time)...")
|
||||
run_cmd(f"sudo badblocks -sv {device}", log_file, check=False)
|
||||
run_cmd(f"sudo badblocks -b 4096 -sv {device}", log_file, check=False)
|
||||
print("Badblocks check complete.")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue