Skip to content

Commit

Permalink
use rdiskN in usage and rdisk123 in example
Browse files Browse the repository at this point in the history
  • Loading branch information
toy committed Jul 31, 2016
1 parent e5ee884 commit 210dcd8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Stressdrive should be easily portable to other Unixes if anyone wants to do that and toss me a Pull Request.
2 changes: 1 addition & 1 deletion stressdrive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 210dcd8

Please sign in to comment.