Changeset 3881 in MondoRescue for branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Mar 9, 2024, 3:31:21 PM (4 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/mondorestore/mondo-rstr-tools.c
r3879 r3881 942 942 if (!strcmp(value, "cdstream")) { 943 943 bkpinfo->backup_media_type = cdstream; 944 } else if (!strcmp(value, "cdr")) { 945 bkpinfo->backup_media_type = cdr; 946 } else if (!strcmp(value, "dvd")) { 947 bkpinfo->backup_media_type = dvd; 944 } else if (!strcmp(value, "optical")) { 945 bkpinfo->backup_media_type = optical; 948 946 } else if (!strcmp(value, "usb")) { 949 947 bkpinfo->backup_media_type = usb; … … 958 956 } 959 957 if (does_file_exist(ARCHIVES_PATH "/filelist.0")) { 960 bkpinfo->backup_media_type = cdr;958 bkpinfo->backup_media_type = optical; 961 959 run_program_and_log_output("umount -d "MNT_CDROM, 1); 962 log_it("Re-jigging configuration AGAIN. CD-R, not ISO.");960 log_it("Re-jigging configuration AGAIN. Optical, not ISO."); 963 961 } 964 962 } … … 1252 1250 mr_asprintf(tmp1, "mount %s %s", g_isodir_device, iso_mnt); 1253 1251 if (run_program_and_log_output(tmp1, 3)) { 1254 log_msg(1, "Unable to mount isodir. Perhaps this is really a CDbackup?");1255 bkpinfo->backup_media_type = cdr;1252 log_msg(1, "Unable to mount isodir. Perhaps this is really an optical based backup?"); 1253 bkpinfo->backup_media_type = optical; 1256 1254 mr_asprintf(bkpinfo->media_device, "%s", "/dev/cdrom"); /* superfluous */ 1257 1255 mr_free(bkpinfo->isodir);
Note:
See TracChangeset
for help on using the changeset viewer.