Changeset 2937 in MondoRescue for branches/3.1/mondo/src/common/libmondo-archive.c
- Timestamp:
- Jan 28, 2012, 1:51:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo/src/common/libmondo-archive.c
r2850 r2937 483 483 * - @c compression_level 484 484 * - @c differential 485 * - @c exclude_paths486 485 * - @c image_devs 487 486 * - @c kernel_path … … 610 609 611 610 if (!bkpinfo->nonbootable_backup && (bkpinfo->boot_loader == '\0' || bkpinfo->boot_device == NULL)) { 611 update_evalcall_form(2); 612 612 613 613 #ifdef __FreeBSD__ … … 782 782 mr_free(command); 783 783 log_msg(1, "lines_in_filelist = %ld", lines_in_filelist); 784 update_evalcall_form(3); 784 785 785 786 /* 1 2 3 4 5 6 7 8 9 10 */ … … 832 833 833 834 mvaddstr_and_log_it(g_currentY, 0, "Calling MINDI to create boot+data disks"); 835 open_evalcall_form("Calling MINDI to create boot+data disks"); 834 836 res = run_external_binary_with_percentage_indicator_NEW("Generating boot+data disks", command); 837 update_evalcall_form(99); 835 838 paranoid_free(command); 836 839 … … 874 877 mr_free(tmp); 875 878 } 879 close_evalcall_form(); 876 880 return (res); 877 881 } … … 1471 1475 log_msg(2, "make_usb_fs --- scratchdir=%s", bkpinfo->scratchdir); 1472 1476 (void) getcwd(old_pwd, MAX_STR_LEN - 1); 1473 mr_asprintf(tmp, "chmod 7 55%s", bkpinfo->scratchdir);1477 mr_asprintf(tmp, "chmod 700 %s", bkpinfo->scratchdir); 1474 1478 run_program_and_log_output(tmp, FALSE); 1475 1479 mr_free(tmp); … … 1499 1503 run_program_and_log_output(tmp, FALSE); 1500 1504 mr_free(tmp); 1505 1501 1506 1502 1507 /* Mindi always create one single parition on the USB dev */ … … 1595 1600 log_msg(2, "make_iso_fs --- scratchdir=%s --- destfile=%s", bkpinfo->scratchdir, destfile); 1596 1601 (void) getcwd(old_pwd, MAX_STR_LEN - 1); 1597 mr_asprintf(tmp, "chmod 7 55%s", bkpinfo->scratchdir);1602 mr_asprintf(tmp, "chmod 700 %s", bkpinfo->scratchdir); 1598 1603 run_program_and_log_output(tmp, FALSE); 1599 1604 mr_free(tmp); … … 2599 2604 2600 2605 if (!ok_go_ahead_burn_it) { 2601 eject_device(cdrom_dev); 2606 if (!bkpinfo->please_dont_eject) { 2607 eject_device(cdrom_dev); 2608 } 2602 2609 mds = media_descriptor_string(g_backup_media_type); 2603 2610 mr_asprintf(tmp, "I am about to burn %s #%d of the backup set. Please insert %s and press Enter.", mds, g_current_media_number, mds); … … 3254 3261 run_program_and_log_output("umount " MNT_CDROM, FALSE); 3255 3262 // if (bkpinfo->backup_media_type != iso && !bkpinfo->please_dont_eject_when_restoring) 3256 //{3257 eject_device(bkpinfo->media_device);3258 //}3263 if (!bkpinfo->please_dont_eject) { 3264 eject_device(bkpinfo->media_device); 3265 } 3259 3266 } 3260 3267 mr_asprintf(tmp, "%s/changed.files", MONDO_CACHE);
Note:
See TracChangeset
for help on using the changeset viewer.