diff options
author | Florian Pritz <bluewind@xinu.at> | 2015-02-02 12:04:02 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2015-02-02 12:04:02 +0100 |
commit | 96e8159015f9bd4d5dc123be769ab55343e0ce12 (patch) | |
tree | 3e49f3ca3674c191e9ec862f0447122281e761d9 /blink-disks | |
parent | 1b6847339e155210c6fdbaca8eb0dbf4d96fa221 (diff) | |
download | bin-96e8159015f9bd4d5dc123be769ab55343e0ce12.tar.gz bin-96e8159015f9bd4d5dc123be769ab55343e0ce12.tar.xz |
blink-disks: use arguments
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'blink-disks')
-rwxr-xr-x | blink-disks | 3 |
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 ::: "$@" |