Python Scripts: fix block size for badblocks scan

This commit is contained in:
Aroy-Art 2025-04-12 13:49:23 +02:00
parent dae37954b3
commit 38ce2b272a
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -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.")