Changeset 1079 in MondoRescue for trunk/mondo/src/common/libmondo-devices.c
- Timestamp:
- Jan 28, 2007, 5:58:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/src/common/libmondo-devices.c
r1000 r1079 1 /* 2 *$Id$3 * Subroutines for handling devices 4 */ 1 /* libmondo-devices.c Subroutines for handling devices 2 $Id$ 3 */ 4 5 5 /** 6 6 * @file … … 1469 1469 case cdrw: 1470 1470 case dvd: 1471 case usb: 1471 1472 if (archiving_to_media) { 1472 if ( bkpinfo->backup_media_type != dvd) {1473 if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) { 1473 1474 if (ask_me_yes_or_no 1474 1475 (_("Is your computer a laptop, or does the CD writer incorporate BurnProof technology?"))) … … 1490 1491 mr_asprintf(&sz_size, "%d", DEFAULT_DVD_DISK_SIZE); // 4.7 salesman's GB = 4.482 real GB = 4582 MB 1491 1492 log_msg(1, "Setting to DVD defaults"); 1493 } else if (bkpinfo->backup_media_type == usb) { 1494 strcpy(bkpinfo->media_device, VANILLA_USB_DEVICE); 1495 strcpy(sz_size, "512"); 1492 1496 } else { 1493 1497 mr_allocstr(bkpinfo->media_device,VANILLA_SCSI_CDROM ); … … 1496 1500 log_msg(1, "Setting to CD defaults"); 1497 1501 } 1498 if ( bkpinfo->backup_media_type != dvd) {1502 if ((bkpinfo->backup_media_type != dvd) && (bkpinfo->backup_media_type != usb)) { 1499 1503 if (!popup_and_get_string(_("Speed"), comment, tmp)) { 1500 1504 log_to_screen(_("User has chosen not to backup the PC"));
Note:
See TracChangeset
for help on using the changeset viewer.