Changeset 1574 in MondoRescue for branches/stable/mondo/src/common/libmondo-devices.c
- Timestamp:
- Jul 26, 2007, 12:34:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-devices.c
r1569 r1574 1443 1443 char *prompt = NULL; 1444 1444 int i = 0; 1445 int res = 0; 1445 1446 FILE *fin = NULL; 1446 1447 … … 1608 1609 case tape: 1609 1610 1610 if (find_tape_device_and_size(bkpinfo->media_device, sz_size)) { 1611 res = find_tape_device_and_size(bkpinfo->media_device, sz_size); 1612 if ((res != 0) && (! bkpinfo->media_device[0])) { 1611 1613 mr_msg(3, "Ok, using vanilla scsi tape."); 1612 1614 strcpy(bkpinfo->media_device, VANILLA_SCSI_TAPE); … … 1614 1616 paranoid_fclose(fin); 1615 1617 } else { 1616 strcpy(bkpinfo->media_device, "/dev/osst0");1618 mr_msg(2, "Don't know what your tape device is :-("); 1617 1619 } 1618 1620 } … … 1630 1632 bkpinfo->media_device); 1631 1633 if (!ask_me_yes_or_no(tmp)) { 1632 bkpinfo->media_device[0] = '\0';1633 1634 if (!popup_and_get_string 1634 1635 ("Device name?",
Note:
See TracChangeset
for help on using the changeset viewer.