fix up the debug date output as would be seen in the full file
authorTim Shimmin <tes@sgi.com>
Tue, 14 Dec 2004 13:46:19 +0000 (13:46 +0000)
committerTim Shimmin <tes@sgi.com>
Tue, 14 Dec 2004 13:46:19 +0000 (13:46 +0000)
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

064

diff --git a/064 b/064
index fa42d104367d038313603388f11d639530d0c875..544790bd0a9fabbebe7363d73fab97d01de92f2a 100755 (executable)
--- a/064
+++ b/064
@@ -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