summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xblink-disks3
1 files changed, 2 insertions, 1 deletions
diff --git a/blink-disks b/blink-disks
index 0ad22eb..2099942 100755
--- a/blink-disks
+++ b/blink-disks
@@ -1,3 +1,4 @@
#!/bin/bash
+# pass disks to blink as arguments
-parallel -j 0 dd bs=1M iflag=direct if={} count=300 \| pv -L1M >/dev/null ::: /dev/sd?
+parallel -j 0 dd bs=1M iflag=direct if={} count=300 \| pv -L1M >/dev/null ::: "$@"