/GenAndVerifyData

A tool to write and/or verify the file with some "random" data which could be used to test disk. 一个使用“随机”数据来写入并/或校验指定文件的工具,可用来测试硬盘

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

GenAndVerifyData

GitHub release

README | 中文文档

Introduction

GenAndVerifyData is A tool to write and/or verify the file with some "random" data.

It could be used to test disk

Usage

Usage: 
  GenAndVerifyData [-write|-verify] {path} [begin [end]]
    -write    Write only
    -verify   Verify only
    path      Path
    begin     From 0. Align to 4096. Include
    end       From 0. Align to 4096. Not include

Example:

Run a test for /dev/sdz:

./GenAndVerifyData /dev/sdz