badblocks is a Linux utility to check for bad sectors on a disk drive. It can create a text file with a list of these sectors that can be used with other programs, like mkfs, so that they are not used in the future and thus do not cause data corruption. It is part of the e2fsprogs project, and a port is available for BSD operating systems.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).