- Timestamp:
- Sep 9, 2007, 2:12:49 AM (18 years ago)
- Location:
- branches/stable/mondo/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-archive.c
r1621 r1627 1081 1081 if (!does_file_exist(archiving_filelist_fname)) { 1082 1082 mr_msg(3, 1083 " %s[%d:%d] - well, I would archive %d, except that it doesn't exist. I'll stop now.",1084 FORTY_SPACES,getpid(), this_thread_no,1083 "[%d:%d] - well, I would archive %d, except that it doesn't exist. I'll stop now.", 1084 getpid(), this_thread_no, 1085 1085 archiving_set_no); 1086 1086 break; … … 1090 1090 archiving_set_no - ARCH_BUFFER_NUM, bkpinfo->zip_suffix); 1091 1091 if (does_file_exist(tmp)) { 1092 mr_msg(4, " %s[%d:%d] - waiting for storer",1093 FORTY_SPACES,getpid(), this_thread_no);1092 mr_msg(4, "[%d:%d] - waiting for storer", 1093 getpid(), this_thread_no); 1094 1094 while (does_file_exist(tmp)) { 1095 1095 sleep(1); … … 1099 1099 mr_free(tmp); 1100 1100 1101 mr_msg(4, " %s[%d:%d] - EXATing %d...", FORTY_SPACES, getpid(),1101 mr_msg(4, "[%d:%d] - EXATing %d...", getpid(), 1102 1102 this_thread_no, archiving_set_no); 1103 1103 if (g_getfattr) { … … 1114 1114 } 1115 1115 1116 mr_msg(4, " %s[%d:%d] - archiving %d...", FORTY_SPACES, getpid(),1116 mr_msg(4, "[%d:%d] - archiving %d...", getpid(), 1117 1117 this_thread_no, archiving_set_no); 1118 1118 res = archive_this_fileset(bkpinfo, archiving_filelist_fname, … … 1141 1141 fatal_error("Cannot get semaphore V"); 1142 1142 } 1143 mr_msg(4, " %s[%d:%d] - archived %d OK", FORTY_SPACES, getpid(),1143 mr_msg(4, "[%d:%d] - archived %d OK", getpid(), 1144 1144 this_thread_no, archiving_set_no); 1145 1145 archiving_set_no++; … … 1152 1152 fatal_error("Cannot get semaphore V"); 1153 1153 } 1154 mr_msg(3, " %s[%d:%d] - exiting", FORTY_SPACES, getpid(),1154 mr_msg(3, "[%d:%d] - exiting", getpid(), 1155 1155 this_thread_no); 1156 1156 mr_free(archiving_filelist_fname); -
branches/stable/mondo/src/common/libmondo-filelist.c
r1553 r1627 1590 1590 mr_msg(1, "Calculating filelist"); 1591 1591 snprintf(exclude_paths, (size_t)8*MAX_STR_LEN," %s %s %s %s %s %s . .. \ 1592 " MNT_CDROM " " MNT_FLOPPY "/media \1592 " MNT_CDROM " /mnt/floppy /media \ 1593 1593 /proc /sys /tmp /var/log/lastlog /root/images/mondo " MINDI_CACHE " " MONDO_CACHE, excp, call_program_and_get_last_line_of_output("locate /win386.swp 2> /dev/null"), call_program_and_get_last_line_of_output("locate /hiberfil.sys 2> /dev/null"), call_program_and_get_last_line_of_output("locate /pagefile.sys 2> /dev/null"), (tmpdir[0] == '/' && tmpdir[1] == '/') ? (tmpdir + 1) : tmpdir, (scratchdir[0] == '/' && scratchdir[1] == '/') ? (scratchdir + 1) : scratchdir); 1594 1594 -
branches/stable/mondo/src/common/libmondo-tools.c
r1625 r1627 1035 1035 run_program_and_log_output("mount " MNT_CDROM, FALSE); 1036 1036 } 1037 if (g_remount_floppy_at_end) {1038 run_program_and_log_output("mount " MNT_FLOPPY, FALSE);1039 }1040 1037 } 1041 1038 … … 1049 1046 g_remount_cdrom_at_end = TRUE; 1050 1047 run_program_and_log_output("umount " MNT_CDROM, FALSE); 1051 }1052 if (run_program_and_log_output1053 ("mount | grep floppy | grep super", FALSE) == 0) {1054 g_remount_floppy_at_end = TRUE;1055 run_program_and_log_output("umount " MNT_FLOPPY, FALSE);1056 1048 } 1057 1049 } -
branches/stable/mondo/src/common/newt-specific.c
r1594 r1627 12 12 13 13 #define MAX_NEWT_COMMENT_LEN 200 14 #define WELCOME_STRING _("W E L C O M E T O M O N D O R E S C U E") 14 15 15 16 #include <stdio.h> -
branches/stable/mondo/src/include/my-stuff.h
r1625 r1627 172 172 */ 173 173 #define IS_THIS_A_STREAMING_BACKUP(x) (x == tape || x == udev || x == cdstream) 174 175 /**176 * Welcome string displayed at the top of the newt interface.177 */178 #define WELCOME_STRING _("W E L C O M E T O M O N D O R E S C U E")179 174 180 175 /** … … 283 278 #define ARCH_THREADS 2 ///< The number of simultaneous threads running afio in the background. 284 279 #define ARCH_BUFFER_NUM (ARCH_THREADS*4) // Number of permissible queued afio files 285 #define FORTY_SPACES " " ///< 40 spaces.286 280 #define PPCFG_RAMDISK_SIZE 350 ///< Size of the tmpfs, in megabytes, to attempt to mount (to speed up Mondo). 287 288 #define DO_MBR_PLEASE "/tmp/DO-MBR-PLEASE"289 290 281 291 282 /** … … 298 289 299 290 #define MNT_CDROM "/mnt/cdrom" 300 #define MNT_FLOPPY "/mnt/floppy"301 291 302 292 #endif /* _MY_STUFF_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.