disk-filltest
disk-filltest copied to clipboard
Simple program to detect bad disks by filling them with random data.
This is a suggested improvement. After about 48 hours of disk scan an error was reported about a third of the way through the read verification and further reads stopped....
a few improvements to free disk space calculation: 1. On Windows, use `GetDiskFreeSpaceEx`. 2. Use `f_frsize` instead of `f_bsize`, to get the correct block size on macOS (doesn't affect Windows...
Currently, the random seed is only logged to stdout. It's easy to lose this, making it tough to verify already-written files later or after an interruption. This change: - stores...