Changeset 3654 in MondoRescue for branches/3.3/mondo/src/common/libmondo-devices.c
- Timestamp:
- Mar 8, 2017, 3:56:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-devices.c
r3653 r3654 3006 3006 assert(bkpinfo != NULL); 3007 3007 // log_it("Asking what_number_cd_is_this"); 3008 if ( g_ISO_restore_mode) {3008 if ((g_ISO_restore_mode) || (g_restoring_live_from_cd)) { 3009 3009 tmp = call_program_and_get_last_line_of_output("mount | grep iso9660 | awk '{print $3;}'"); 3010 3010 mr_asprintf(mountdev, "%s%s", tmp, "/archives/THIS-CD-NUMBER"); … … 3016 3016 } 3017 3017 3018 if (!bkpinfo->media_device[0]) { 3019 log_it("ERROR: bkpinfo->media_device shoulnd't be empty here\n"); 3020 return(0); 3021 } 3018 3022 mr_asprintf(mountdev, "%s", bkpinfo->media_device); 3019 3023 if (!mountdev[0]) {
Note:
See TracChangeset
for help on using the changeset viewer.