ensure each file modification will have at least 2 sec gap
Merge of xfs-cmds-melb:slinx:20713a by kenmcd.
fix up the debug date output as would be seen in the full file
ensure each file modification will have at least 2 sec gap
i=0
while [ $i -le 9 ]; do
if [ $i -gt 0 ]; then
- _modify_level $i
sleep 2
+ _modify_level $i
_stable_fs
fi
echo "********* level $i ***********" >>$seq.full
date >>$seq.full
- find $SCRATCH_MNT -exec $here/src/lstat64 {} \; >$tmp.dates.$i
+ find $SCRATCH_MNT -exec $here/src/lstat64 {} \; | sed 's/(00.*)//' >$tmp.dates.$i
if [ $i -gt 0 ]; then
level_1=`expr $i - 1`
diff -c $tmp.dates.$level_1 $tmp.dates.$i >>$seq.full