Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0171ae4546a3b7980665851413b48f6e758e5665
[fs/lustre-release.git]
/
lustre
/
tests
/
racer
/
file_getxattr.sh
1
#!/bin/bash
2
3
DIR=$1
4
MAX=$2
5
6
while true; do
7
file=$DIR/$((RANDOM % MAX))
8
getfattr -d -m- $file &> /dev/null
9
done