Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
rw
/
mtd-utils
/
b0dd15b567ef39ae1ac2454d77d5f482de31c7f9
/
.
/
tests
/
jittertest
/
filljffs2.sh
blob: d8c2a83249d2818cb359ce9e45b6a150126ef318 [
file
] [
log
] [
blame
]
#!/bin/bash
# Pass following cmd line:
# 1st - file to copy
# 2nd - file to copy to
# 3rd - time to sleep between copies
while
[
$
((
1
))
-
gt $
((
0
))
]
do
cp $1 $2
rm $2
df
|
grep mtd
>
/
dev
/
console
echo
"sleeping $3"
sleep $3
done