Changeset 1670 in MondoRescue for branches/stable/mondo
- Timestamp:
- Oct 1, 2007, 12:50:28 PM (18 years ago)
- Location:
- branches/stable/mondo/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-filelist.c
r1663 r1670 1319 1319 time_t this_time; 1320 1320 1321 malloc_string(sth_B);1321 sth_B = malloc(8*MAX_STR_LEN); 1322 1322 malloc_string(ith_B); 1323 1323 malloc_string(new_with_spaces); -
branches/stable/mondo/src/common/libmondo-tools.c
r1669 r1670 488 488 if (bkpinfo->call_before_iso[0] == '\0') { 489 489 sprintf(bkpinfo->call_before_iso, 490 "%s %s -o %s/ temporary.iso. 2>> %s",490 "%s %s -o %s/"MONDO_TMPISOS" . 2>> %s", 491 491 mr_conf->iso_creation_cmd,mondo_mkisofs_sz, bkpinfo->tmpdir, MONDO_LOGFILE); 492 492 } else { 493 493 mr_asprintf(&call_before_iso_user, bkpinfo->call_before_iso); 494 494 sprintf (bkpinfo->call_before_iso, 495 "(%s %s -o %s/ temporary.iso. 2>> %s ; %s )",495 "(%s %s -o %s/"MONDO_TMPISOS" . 2>> %s ; %s )", 496 496 mr_conf->iso_creation_cmd,mondo_mkisofs_sz, bkpinfo->tmpdir, MONDO_LOGFILE, call_before_iso_user); 497 497 mr_free(call_before_iso_user); … … 499 499 log_it("bkpinfo->call_before_iso = %s", bkpinfo->call_before_iso); 500 500 sprintf(bkpinfo->call_make_iso, 501 "%s %s %s dev=%s speed=%d %s/ temporary.iso",501 "%s %s %s dev=%s speed=%d %s/"MONDO_TMPISOS, 502 502 mr_conf->iso_burning_cmd, 503 503 extra_cdrom_params, -
branches/stable/mondo/src/common/newt-specific.c
r1663 r1670 35 35 36 36 extern char *MONDO_LOGFILE; 37 38 extern struct s_bkpinfo *bkpinfo; 37 39 38 40 /*@unused@*/ -
branches/stable/mondo/src/include/my-stuff.h
r1663 r1670 151 151 */ 152 152 #define IS_THIS_A_STREAMING_BACKUP(x) (x == tape || x == udev || x == cdstream) 153 154 /** 155 * The stub name of the temporary ISO image to create, burn, and remove. 156 */ 157 #define MONDO_TMPISOS "temporary.iso" 153 158 154 159 /** -
branches/stable/mondo/src/mondorestore/mondo-rstr-compare.c
r1663 r1670 21 21 /* Reference to global bkpinfo */ 22 22 extern struct s_bkpinfo *bkpinfo; 23 24 extern char *g_mountlist_fname; 23 25 24 26 //static char cvsid[] = "$Id$"; … … 506 508 { 507 509 int retval = 0; 510 int res = 0; 508 511 long q = 0L; 509 512 char *tmp = NULL; … … 533 536 534 537 read_cfg_file_into_bkpinfo(g_mondo_cfg_file); 538 539 /* edit_mountlist if wanted */ 540 iamhere("About to edit mountlist"); 541 if (g_text_mode) { 542 save_mountlist_to_disk(mountlist, g_mountlist_fname); 543 mr_asprintf(&tmp, "%s %s", find_my_editor(), g_mountlist_fname); 544 res = system(tmp); 545 mr_free(tmp); 546 load_mountlist(mountlist, g_mountlist_fname); 547 } else { 548 res = edit_mountlist(g_mountlist_fname, mountlist, raidlist); 549 } 550 iamhere("Finished editing mountlist"); 551 if (res) { 552 paranoid_MR_finish(1); 553 } 554 save_mountlist_to_disk(mountlist, g_mountlist_fname); 555 save_raidlist_to_raidtab(raidlist, RAIDTAB_FNAME); 556 535 557 g_current_media_number = 1; 536 558 mvaddstr_and_log_it(1, 30, _("Comparing Automatically"));
Note:
See TracChangeset
for help on using the changeset viewer.