Changeset 2227 in MondoRescue for branches/2.2.9/mondo/src/common
- Timestamp:
- Jun 17, 2009, 2:45:52 PM (16 years ago)
- Location:
- branches/2.2.9/mondo/src/common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-archive.c
r2216 r2227 1475 1475 maintain_collection_of_recent_archives(bkpinfo->tmpdir, 1476 1476 storing_afioball_fname); 1477 iamhere("Writing EXAT files");1477 log_it("%s","Writing EXAT files"); 1478 1478 res += 1479 1479 write_EXAT_files_to_tape(curr_xattr_list_fname, … … 1999 1999 log_msg(1, "--> tmp = '%s'", tmp); 2000 2000 if (strstr(tmp, "NTFS")) { 2001 iamhere("TRUE");2001 log_it("%s","TRUE"); 2002 2002 ret = TRUE; 2003 2003 } else { 2004 iamhere("FALSE");2004 log_it("%s","FALSE"); 2005 2005 ret = FALSE; 2006 2006 } … … 2271 2271 register_in_tape_catalog(fileset, curr_set_no, -1, curr_afioball_fname); 2272 2272 maintain_collection_of_recent_archives(bkpinfo->tmpdir, curr_afioball_fname); 2273 iamhere("Writing EXAT files");2273 log_it("%s","Writing EXAT files"); 2274 2274 res += 2275 2275 write_EXAT_files_to_tape(curr_xattr_list_fname, … … 3450 3450 media_descriptor_string(g_backup_media_type)); 3451 3451 chdir("/"); 3452 iamhere("Before calling verification of image()");3452 log_it("%s","Before calling verification of image()"); 3453 3453 if (bkpinfo->backup_media_type == usb) { 3454 3454 res += verify_usb_image(); … … 3456 3456 res += verify_cd_image(); 3457 3457 } 3458 iamhere("After calling verification of image()");3458 log_it("%s","After calling verification of image()"); 3459 3459 } 3460 3460 if (!res) { -
branches/2.2.9/mondo/src/common/libmondo-filelist.c
r2211 r2227 513 513 "getfacl --all-effective -P %s 2>> %s | gzip -c1 > %s 2>> %s", 514 514 filelist, MONDO_LOGFILE, facl_fname, MONDO_LOGFILE); 515 iamhere(command);515 log_it("%s",command); 516 516 retval = system(command); 517 517 paranoid_free(command); … … 592 592 pout = popen(syscall_pout, "w"); 593 593 if (!pout) { 594 iamhere("Unable to openout to syscall_pout");594 log_it("%s","Unable to openout to syscall_pout"); 595 595 return (1); 596 596 } … … 598 598 if (!pin) { 599 599 pclose(pout); 600 iamhere("Unable to openin from syscall");600 log_it("%s","Unable to openin from syscall"); 601 601 return (1); 602 602 } … … 605 605 pclose(pin); 606 606 pclose(pout); 607 iamhere("Unable to openin masklist");607 log_it("%s","Unable to openin masklist"); 608 608 return (1); 609 609 } … … 1881 1881 log_msg(3, "Adding %s to filelist", list_of_files_fname); 1882 1882 if (!(fin = fopen(list_of_files_fname, "r"))) { 1883 iamhere(list_of_files_fname);1883 log_it("%s",list_of_files_fname); 1884 1884 return (1); 1885 1885 } -
branches/2.2.9/mondo/src/common/libmondo-stream.c
r2211 r2227 555 555 last = g_tapecatalog->entries - 1; 556 556 if (last <= 0) { 557 iamhere("Too early to start deleting from collection.");557 log_it("%s","Too early to start deleting from collection."); 558 558 return (0); 559 559 } … … 568 568 } 569 569 if (curr < 0) { 570 iamhere570 log_it("%s", 571 571 ("Not far enough into tape to start deleting old archives from collection."); 572 572 return (0); … … 1717 1717 g_tape_stream) / 1024; 1718 1718 if (g_sigpipe) { 1719 iamhere("Sigpipe occurred recently. I'll start a new tape.");1719 log_it("%s","Sigpipe occurred recently. I'll start a new tape."); 1720 1720 fclose(fin); 1721 1721 g_sigpipe = FALSE; -
branches/2.2.9/mondo/src/common/libmondo-verify.c
r2211 r2227 281 281 } 282 282 283 iamhere("before vsbf");283 log_it("%s","before vsbf"); 284 284 sprintf(tmp, "Verifying %s#%d's big files", 285 285 media_descriptor_string(bkpinfo->backup_media_type), 286 286 g_current_media_number); 287 287 open_evalcall_form(tmp); 288 iamhere("after vsbf");288 log_it("%s","after vsbf"); 289 289 sprintf(mountpoint, "%s/archives", mtpt); 290 290 if (last_bigfile_num == -1) { … … 780 780 res = read_header_block_from_stream(&size, fname, &ctrl_chr); 781 781 if (ctrl_chr != BLK_START_AFIOBALLS) { 782 iamhere("YOU SHOULD NOT GET HERE");783 iamhere("Grabbing the EXAT files");782 log_it("%s","YOU SHOULD NOT GET HERE"); 783 log_it("%s","Grabbing the EXAT files"); 784 784 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 785 785 res = … … 805 805 } 806 806 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 807 iamhere("Reading EXAT files from tape");807 log_it("%s","Reading EXAT files from tape"); 808 808 res = 809 809 read_EXAT_files_from_tape(&size, fname, &ctrl_chr, … … 895 895 if (ctrl_chr != BLK_START_BIGGIEFILES) { 896 896 if (ctrl_chr == BLK_START_EXTENDED_ATTRIBUTES) { 897 iamhere("Grabbing the EXAT biggiefiles");897 log_it("%s","Grabbing the EXAT biggiefiles"); 898 898 res = 899 899 read_EXAT_files_from_tape(&size, orig_fname, … … 1019 1019 paranoid_free(tmp); 1020 1020 verify_afioballs_on_CD(mountpoint); 1021 iamhere("before verify_all_slices");1021 log_it("%s","before verify_all_slices"); 1022 1022 verify_all_slices_on_CD(mountpoint); 1023 1023 … … 1141 1141 } 1142 1142 verify_afioballs_on_CD(mountpoint); 1143 iamhere("before verify_all_slices");1143 log_it("%s","before verify_all_slices"); 1144 1144 verify_all_slices_on_CD(mountpoint); 1145 1145 -
branches/2.2.9/mondo/src/common/newt-specific.c
r2211 r2227 1400 1400 assert_string_is_neither_NULL_nor_zerolength(source_file); 1401 1401 1402 iamhere("entering");1402 log_it("%s","entering"); 1403 1403 if (!(fin = fopen(source_file, "r"))) { 1404 1404 log_OS_error(source_file); … … 1483 1483 } 1484 1484 paranoid_free(tmp); 1485 iamhere("leaving");1485 log_it("%s","leaving"); 1486 1486 return (0); 1487 1487 } … … 1499 1499 char *tmp = NULL; 1500 1500 1501 iamhere("entering");1501 log_it("%s","entering"); 1502 1502 assert(flentry != NULL); 1503 1503 if (flentry->severity == 0) { … … 1515 1515 paranoid_free(tmp); 1516 1516 1517 iamhere("leaving");1517 log_it("%s","leaving"); 1518 1518 return (comment); 1519 1519 }
Note:
See TracChangeset
for help on using the changeset viewer.