crashtest-r0ket/tools/tests/fs.stresstest
2011-12-23 18:31:03 +01:00

17 lines
200 B
Text

dir=$1
if [ -z "$dir" ] ; then
echo Missing argument
exit 1
fi
cd $1
while : ; do
dd if=/dev/urandom count=130 of=random.file
sync
sleep 1
rm random.file
sync
sleep 1
echo "Done once."
done