Changeset 278 in MondoRescue for trunk/mondo
- Timestamp:
- Jan 3, 2006, 5:06:47 PM (18 years ago)
- Location:
- trunk/mondo/mondo
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/mondorestore/mondo-rstr-compare.c
r276 r278 378 378 if (length_of_file(logfile) > 5) { 379 379 sprintf(command, 380 "sed s/': \\\"'/\\|/ %s | sed s/'\\\": '/\\|/ | cut -d'|' -f2 | sort | uniq| grep -vx \"dev/.*\" >> /tmp/changed.txt",380 "sed s/': \\\"'/\\|/ %s | sed s/'\\\": '/\\|/ | cut -d'|' -f2 | sort -u | grep -vx \"dev/.*\" >> /tmp/changed.txt", 381 381 logfile); 382 382 system(command); -
trunk/mondo/mondo/restore-scripts/mondo/compare-me
r274 r278 262 262 263 263 grep -v -x "Files [^:]*:-" /tmp/compare-me.log \ 264 | sort | uniq> /tmp/suspect.files264 | sort -u > /tmp/suspect.files 265 265 266 266 noof_lines=`grep -n "" /tmp/suspect.files | tail -n 1 | cut -d':' -f1` -
trunk/mondo/mondo/restore-scripts/mondo/compare-subroutine-me
r30 r278 62 62 if [ "`cat /tmp/mck.log`" != "" ] ; then 63 63 echo "Files which, according to md5sum, have changed:-" >> /tmp/compare-me.log 64 cat /tmp/mck.log 65 cat /tmp/mck.log >> /tmp/compare-me.log 64 cat /tmp/mck.log | tee -a /tmp/compare-me.log 66 65 else 67 66 LogIt "Unable to run mondo-checksum." … … 75 74 if [ "`cat /tmp/afio.log`" != "" ] ; then 76 75 echo "Files reported by afio as changed:-" > /tmp/afio.log.mashed 77 cat /tmp/afio.log | sed s/'afio: "'/'|'/| sed s/'": '/'|'/ \76 sed s/'afio: "'/'|'/ /tmp/afio.log | sed s/'": '/'|'/ \ 78 77 | cut -d'|' -f2 | gawk '{ if (substr($0,1,1)!="/") {print"/"$0;} \ 79 else {print $0;};};' | sort | uniq >> /tmp/afio.log.mashed 80 cat /tmp/afio.log.mashed 81 cat /tmp/afio.log.mashed >> /tmp/compare-me.log 78 else {print $0;};};' | sort -u >> /tmp/afio.log.mashed 79 cat /tmp/afio.log.mashed | tee -a /tmp/compare-me.log 82 80 fi 83 81 -
trunk/mondo/mondo/restore-scripts/mondo/stablilo-me
r274 r278 93 93 cut -d' ' -f1 /tmp/mountlist.txt \ 94 94 | sed s/[0-9]// | sed s/[0-9]// \ 95 | sort | uniq| head -n 195 | sort -u | head -n 1 96 96 } 97 97
Note:
See TracChangeset
for help on using the changeset viewer.