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
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
This commit is contained in:
Tim Shimmin
2004-12-14 13:46:19 +00:00
parent 3bb0cdf3d3
commit 0817ac98c7
+2 -2
View File
@@ -75,13 +75,13 @@ echo "Do the incremental dumps"
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