Changeset 541 in MondoRescue for branches/stable/mondo/mondo/common/libmondo-verify.c
- Timestamp:
- May 13, 2006, 8:47:23 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/libmondo-verify.c
r501 r541 103 103 #include "mondostructures.h" 104 104 #include "libmondo-verify.h" 105 #include " newt-specific-EXT.h"105 #include "libmondo-gui-EXT.h" 106 106 #include "libmondo-files-EXT.h" 107 107 #include "libmondo-fork-EXT.h" … … 110 110 #include "libmondo-devices-EXT.h" 111 111 #include "libmondo-tools-EXT.h" 112 #include "lib-common-externs.h" 112 113 113 114 /*@unused@*/ … … 757 758 orig_cksum); 758 759 log_msg(2, tmp); 759 sprintf(tmp, _("%s has changed on live filesystem"),760 sprintf(tmp, "%s has changed on live filesystem", 760 761 biggie_fname); 761 762 log_to_screen(tmp); … … 810 811 sprintf(curr_acl_list_fname, ACL_BIGGLST_FNAME_RAW_SZ, 811 812 bkpinfo->tmpdir); 812 log_to_screen( _("Verifying regular archives on tape"));813 log_to_screen("Verifying regular archives on tape"); 813 814 total_afioballs = get_last_filelist_number(bkpinfo) + 1; 814 open_progress_form( _("Verifying filesystem"),815 _("I am verifying archives against your live filesystem now."),816 _("Please wait. This may take a couple of hours."), "",815 open_progress_form("Verifying filesystem", 816 "I am verifying archives against your live filesystem now.", 817 "Please wait. This may take a couple of hours.", "", 817 818 total_afioballs); 818 819 res = read_header_block_from_stream(&size, fname, &ctrl_chr); … … 853 854 res = verify_an_afioball_from_stream(bkpinfo, fname, size); 854 855 if (res) { 855 sprintf(tmp, _("Afioball %ld differs from live filesystem"),856 sprintf(tmp, "Afioball %ld differs from live filesystem", 856 857 current_afioball_number); 857 858 log_to_screen(tmp); … … 937 938 noof_biggiefiles = (long) size; 938 939 log_msg(1, "noof_biggiefiles = %ld", noof_biggiefiles); 939 open_progress_form( _("Verifying big files"), comment,940 _("Please wait. This may take some time."), "",940 open_progress_form("Verifying big files", comment, 941 "Please wait. This may take some time.", "", 941 942 noof_biggiefiles); 942 943 for (res = read_header_block_from_stream(&size, orig_fname, &ctrl_chr); … … 954 955 p++; 955 956 } 956 sprintf(comment, _("Verifying bigfile #%ld (%ld K)"),957 sprintf(comment, "Verifying bigfile #%ld (%ld K)", 957 958 current_biggiefile_number, (long) size >> 10); 958 959 update_progress_form(comment); … … 1019 1020 1020 1021 sprintf(mountpoint, "%s/cdrom", bkpinfo->tmpdir); 1021 sprintf(fname, "%s/%s/%s-%d.iso", bkpinfo-> isodir, bkpinfo->nfs_remote_dir,1022 bkpinfo-> prefix, g_current_media_number);1022 sprintf(fname, "%s/%s/%s-%d.iso", bkpinfo->nfs_remote_dir, 1023 bkpinfo->isodir, bkpinfo->prefix, g_current_media_number); 1023 1024 1024 1025 mkdir(mountpoint, 1777); … … 1030 1031 log_msg(2, tmp); 1031 1032 if (bkpinfo->manual_cd_tray) { 1032 popup_and_OK( _("Please push CD tray closed."));1033 popup_and_OK("Please push CD tray closed."); 1033 1034 } 1034 1035 if (find_and_mount_actual_cd(bkpinfo, mountpoint)) { 1035 log_to_screen( _("failed to mount actual CD"));1036 log_to_screen("failed to mount actual CD"); 1036 1037 return (1); 1037 1038 } … … 1043 1044 mddevice = make_vn(fname); 1044 1045 if (ret) { 1045 sprintf(tmp, _("make_vn of %s failed; unable to verify ISO\n"),1046 sprintf(tmp, "make_vn of %s failed; unable to verify ISO\n", 1046 1047 fname); 1047 1048 log_to_screen(tmp); … … 1054 1055 #endif 1055 1056 if (run_program_and_log_output(command, FALSE)) { 1056 sprintf(tmp, _("%s failed; unable to mount ISO image\n"),1057 sprintf(tmp, "%s failed; unable to mount ISO image\n", 1057 1058 command); 1058 1059 log_to_screen(tmp); … … 1132 1133 1133 1134 log_msg(3, "verify_tape_backups --- starting"); 1134 log_to_screen( _("Verifying backups"));1135 log_to_screen("Verifying backups"); 1135 1136 openin_tape(bkpinfo); 1136 1137 /* verify archives themselves */ … … 1157 1158 && length_of_file(changed_files_fname) > 2) { 1158 1159 log_to_screen 1159 ( _("Warning - unable to check logfile to derive list of changed files"));1160 ("Warning - unable to check logfile to derive list of changed files"); 1160 1161 } else { 1161 1162 log_to_screen 1162 ( _("No differences found. Therefore, no 'changed.files' text file."));1163 ("No differences found. Therefore, no 'changed.files' text file."); 1163 1164 } 1164 1165 } … … 1176 1177 log_msg(0, tmp); 1177 1178 log_to_screen 1178 ( _("See /tmp/changed.files for a list of nonmatching files."));1179 ("See /tmp/changed.files for a list of nonmatching files."); 1179 1180 log_to_screen 1180 ( _("The files probably changed on filesystem, not on backup media."));1181 ("The files probably changed on filesystem, not on backup media."); 1181 1182 // retval++; 1182 1183 }
Note:
See TracChangeset
for help on using the changeset viewer.