Whamcloud - gitweb
LU-7174 build: add mmap_cat to .gitignore
[fs/lustre-release.git] / lustre / tests / racer / file_mknod.sh
1 #!/bin/bash
2
3 DIR=$1
4 MAX=$2
5
6 MCREATE=${MCREATE:-$LUSTRE/tests/mcreate}
7
8 while true; do
9         file=$DIR/$((RANDOM % MAX))
10         $MCREATE $file 2> /dev/null
11 done