Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
LU-16227 utils: Add warning for lfs setdirstripe -D -i x,y,z
[fs/lustre-release.git]
/
lustre
/
tests
/
racer
/
file_chown.sh
1
#!/bin/bash
2
trap 'kill $(jobs -p)' EXIT
3
4
DIR=$1
5
MAX=$2
6
7
while true; do
8
file=$DIR/$((RANDOM % MAX))
9
chown $RANDOM:$RANDOM $file 2> /dev/null
10
done