Import TBBT (NFS trace replay).
[bluesky.git] / TBBT / trace_play / frag_collect_cust
1 #This is to collect info for something other than test1
2 #test1 is hard-coded in frag_collect
3 nfs stop
4 umount $1
5 mount $1
6 nfs start
7 echo "sed -d s/^/show_inode_info / $3"
8 sed -e "s/^/show_inode_info /" $3 >$3.2
9 echo "open $2" >$3.3
10 cat $3.2 >> $3.3
11 echo "debugfs -f $3.3"
12 debugfs -f $3.3 > $3.4
13 #echo "frag_count $3.4 > $3.5"
14 #frag_count $3.4 > $3.5