Changeset 2931 in MondoRescue
- Timestamp:
- Jan 24, 2012, 12:48:04 PM (13 years ago)
- Location:
- branches/3.0/mondo/src/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-archive.c
r2907 r2931 2830 2830 2831 2831 if (!ok_go_ahead_burn_it) { 2832 eject_device(cdrom_dev); 2832 if (!bkpinfo->please_dont_eject) { 2833 eject_device(cdrom_dev); 2834 } 2833 2835 mds = media_descriptor_string(g_backup_media_type); 2834 2836 mr_asprintf(&tmp, "I am about to burn %s #%d of the backup set. Please insert %s and press Enter.", … … 3531 3533 run_program_and_log_output("umount " MNT_CDROM, FALSE); 3532 3534 // if (bkpinfo->backup_media_type != iso && !bkpinfo->please_dont_eject_when_restoring) 3533 //{3534 eject_device(bkpinfo->media_device);3535 //}3535 if (!bkpinfo->please_dont_eject) { 3536 eject_device(bkpinfo->media_device); 3537 } 3536 3538 } 3537 3539 mr_asprintf(&tmp, "%s/changed.files", MONDO_CACHE); -
branches/3.0/mondo/src/common/libmondo-devices.c
r2911 r2931 95 95 { 96 96 // log_it("rctada: Retracting all CD trays", __LINE__); 97 if (strlen(g_cdrom_drive_is_here) > 0) { 98 inject_device(g_cdrom_drive_is_here); 99 } 100 if (strlen(g_dvd_drive_is_here) > 0) { 101 inject_device(g_dvd_drive_is_here); 102 } 103 if (strlen(g_cdrw_drive_is_here) > 0) { 104 inject_device(g_cdrw_drive_is_here); 97 if (!bkpinfo->please_dont_eject) { 98 if (strlen(g_cdrom_drive_is_here) > 0) { 99 inject_device(g_cdrom_drive_is_here); 100 } 101 if (strlen(g_dvd_drive_is_here) > 0) { 102 inject_device(g_dvd_drive_is_here); 103 } 104 if (strlen(g_cdrw_drive_is_here) > 0) { 105 inject_device(g_cdrw_drive_is_here); 106 } 105 107 } 106 108 // log_it("rctada: killing autorun"); … … 3018 3020 } 3019 3021 // assert_string_is_neither_NULL_nor_zerolength(dev); 3020 log_msg(10, "Injecting %s", dev); 3021 inject_device(dev); 3022 if (!bkpinfo->please_dont_eject) { 3023 log_msg(10, "Injecting %s", dev); 3024 inject_device(dev); 3025 } 3022 3026 if (!does_file_exist(dev)) { 3023 3027 log_msg(10, "%s doesn't exist. Returning FALSE.", dev); -
branches/3.0/mondo/src/common/libmondo-fork.c
r2700 r2931 79 79 * - @c bkpinfo->manual_cd_tray 80 80 * - @c bkpinfo->backup_media_type 81 * - @c bkpinfo->please_dont_eject_when_restoring82 81 * @param basic_call The call to mkisofs. May contain tokens that will be resolved to actual data. The tokens are: 83 82 * - @c _ISO_ will become the ISO file (@p isofile)
Note:
See TracChangeset
for help on using the changeset viewer.