diff --git a/README.markdown b/README.markdown index 01f9088..eb9dc49 100644 --- a/README.markdown +++ b/README.markdown @@ -8,17 +8,17 @@ It was written to verify correct operation of [de-duping SSDs](http://storagemoj ### Usage - sudo ./stressdrive /dev/rdisk1 + sudo ./stressdrive /dev/rdiskN ### Sample Run - $ sudo ./stressdrive /dev/rdisk9 + $ sudo ./stressdrive /dev/rdisk123 blockSize: 512 blockCount: 468862128 speedScale: 16x scaled blockSize: 8192 scaled blockCount: 29303883 - writing random data to /dev/rdisk0 + writing random data to /dev/rdisk123 writing 100% (block 29303002 of 29303883) 1779f30a231c1d07c578b0e4ee49fde159210d95 <= SHA-1 of written data verifying written data @@ -44,4 +44,4 @@ Indeed you could. I prefer a minimal focused tool whose operation is fixed, its ### Portablity -Stressdrive should be easily portable to other Unixes if anyone wants to do that and toss me a Pull Request. \ No newline at end of file +Stressdrive should be easily portable to other Unixes if anyone wants to do that and toss me a Pull Request. diff --git a/stressdrive.c b/stressdrive.c index f4c75bd..d4c6f71 100644 --- a/stressdrive.c +++ b/stressdrive.c @@ -24,7 +24,7 @@ int main(int argc, const char *argv[]) { if (argc != 2) { - fprintf(stderr, "Usage: sudo %s /dev/rdisk6\n", argv[0]); + fprintf(stderr, "Usage: sudo %s /dev/rdiskN\n", argv[0]); exit(EXIT_FAILURE); }