Changeset 1609 in MondoRescue
- Timestamp:
- Sep 1, 2007, 12:07:44 AM (18 years ago)
- Location:
- branches/stable/mondo
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/distributions/conf/mondo.conf.dist
r1594 r1609 51 51 # Default device of media 52 52 # 53 # Use /dev/hdc, /dev/sr0, /dev/st0, ATAPI:0,0,0,...53 # Use /dev/hdc, /dev/sr0, /dev/st0, ... 54 54 # 55 55 mondo_media_device="/dev/hdc" -
branches/stable/mondo/src/common/libmondo-archive.c
r1594 r1609 1567 1567 * - @c call_make_iso 1568 1568 * - @c make_cd_use_lilo 1569 * - @c manual_ cd_tray1569 * - @c manual_tray 1570 1570 * - @c nonbootable_backup 1571 1571 * - @c scratchdir … … 1607 1607 mr_free(tmp); 1608 1608 1609 if (bkpinfo->backup_media_type != iso && bkpinfo->manual_ cd_tray) {1609 if (bkpinfo->backup_media_type != iso && bkpinfo->manual_tray) { 1610 1610 popup_and_OK(_("Please insert new media and press Enter.")); 1611 1611 } … … 3083 3083 * - @c prefix 3084 3084 * - @c isodir 3085 * - @c manual_ cd_tray3085 * - @c manual_tray 3086 3086 * - @c media_size 3087 3087 * - @c nfs_mount … … 3185 3185 { 3186 3186 mr_msg(3, "*Sigh* Mike, I hate your computer."); 3187 bkpinfo->manual_ cd_tray = TRUE;3187 bkpinfo->manual_tray = TRUE; 3188 3188 } // if it can't be found then force pausing 3189 3189 else { -
branches/stable/mondo/src/common/libmondo-devices.c
r1594 r1609 1482 1482 if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) { 1483 1483 if (ask_me_yes_or_no 1484 (_(" Is your computer a laptop, or does the CD writer incorporate BurnProof technology?")))1484 (_("Does your computer have a manual tray?"))) 1485 1485 { 1486 bkpinfo->manual_ cd_tray = TRUE;1486 bkpinfo->manual_tray = TRUE; 1487 1487 } 1488 1488 } -
branches/stable/mondo/src/common/libmondo-fork.c
r1594 r1609 75 75 * Call mkisofs to create an ISO image. 76 76 * @param bkpinfo The backup information structure. Fields used: 77 * - @c bkpinfo->manual_ cd_tray77 * - @c bkpinfo->manual_tray 78 78 * - @c bkpinfo->backup_media_type 79 79 * - @c bkpinfo->please_dont_eject_when_restoring … … 134 134 mr_msg(4, "Calling open_evalcall_form() with what_i_am_doing='%s'", 135 135 what_i_am_doing); 136 if (bkpinfo->manual_ cd_tray) {136 if (bkpinfo->manual_tray) { 137 137 /* Find everything after a 2>> and remove it */ 138 138 p = strstr(command, "2>>"); -
branches/stable/mondo/src/common/libmondo-tools.c
r1594 r1609 334 334 * - Used: @c bkpinfo->prefix 335 335 * - Used: @c bkpinfo->isodir 336 * - Used: @c bkpinfo->manual_ cd_tray336 * - Used: @c bkpinfo->manual_tray 337 337 * - Used: @c bkpinfo->make_cd_use_lilo 338 338 * - Used: @c bkpinfo->media_device … … 458 458 || bkpinfo->backup_media_type == nfs 459 459 || bkpinfo->backup_media_type == cdr) { 460 if (!bkpinfo->manual_ cd_tray) {460 if (!bkpinfo->manual_tray) { 461 461 mr_strcat(extra_cdrom_params, "-waiti "); 462 462 } … … 484 484 mr_asprintf(&mondo_mkisofs_sz, "%s -b isolinux.bin -c boot.cat", mr_conf->iso_creation_opt); 485 485 } 486 if (bkpinfo->manual_ cd_tray) {486 if (bkpinfo->manual_tray) { 487 487 if (strstr(mr_conf->iso_burning_cmd,"growisofs") != NULL) { 488 488 fatal_error("Unable to use manual CD tray with growisofs"); … … 700 700 memset((void *) bkpinfo, 0, sizeof(struct s_bkpinfo)); 701 701 702 bkpinfo->manual_ cd_tray = FALSE;702 bkpinfo->manual_tray = mr_conf->manual_tray; 703 703 bkpinfo->internal_tape_block_size = DEFAULT_INTERNAL_TAPE_BLOCK_SIZE; 704 704 mr_asprintf(&tmp,mr_conf->media_device); -
branches/stable/mondo/src/common/libmondo-verify.c
r1549 r1609 902 902 * - @c bkpinfo->isodir 903 903 * - @c bkpinfo->prefix 904 * - @c bkpinfo->manual_ cd_tray904 * - @c bkpinfo->manual_tray 905 905 * - @c bkpinfo->media_device 906 906 * - @c bkpinfo->nfs_remote_dir … … 946 946 mr_free(tmp); 947 947 948 if (bkpinfo->manual_ cd_tray) {948 if (bkpinfo->manual_tray) { 949 949 popup_and_OK(_("Please push CD tray closed.")); 950 950 } -
branches/stable/mondo/src/common/mondostructures.h
r1594 r1609 576 576 * it probably falls into this category. 577 577 */ 578 bool manual_ cd_tray;578 bool manual_tray; 579 579 580 580 /** -
branches/stable/mondo/src/mondoarchive/mondo-cli.c
r1594 r1609 593 593 } 594 594 if (flag_set['m']) { 595 bkpinfo->manual_ cd_tray = TRUE;595 bkpinfo->manual_tray = TRUE; 596 596 } 597 597 if (flag_set['k']) {
Note:
See TracChangeset
for help on using the changeset viewer.