From 38ce2b272afa5b02ed8ade9f16277b6b36d7cb6a Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 12 Apr 2025 13:49:23 +0200 Subject: [PATCH] Python Scripts: fix block size for badblocks scan --- PythonScripts/test_disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PythonScripts/test_disk.py b/PythonScripts/test_disk.py index ad03a6c..289613b 100644 --- a/PythonScripts/test_disk.py +++ b/PythonScripts/test_disk.py @@ -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.")