Linux badblocks command tutorial: How to detect and handle bad blocks in Linux disks (with detailed case explanations and precautions)
Moon Silver's Light Sky: Example 4: Scan the device in read-only mode using badblocks command In this example, we will use the -n option to run the badblocks command in read-only mode: [linux@ ~]$ sudo badblocks -n /dev/sda1 This should be a non-destructive read and write test, generally without adding -n or -w, the default parameter is read-only mode