Ignore:
Timestamp:
Jun 25, 2011, 7:14:35 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Fix multi-media restore by umounting it before looping to ask for the next (as if already mounted, will not pass to the next alone)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/mondorestore/mondorestore.c

    r2820 r2837  
    22502250    mvaddstr_and_log_it(g_currentY, 0, "Restoring from archives");
    22512251    log_msg(2,
    2252             "Insisting on 1st CD, so that I can have a look at LAST-FILELIST-NUMBER");
     2252            "Insisting on 1st media, so that I can have a look at LAST-FILELIST-NUMBER");
    22532253    if (g_current_media_number != 1) {
    22542254        log_msg(3, "OK, that's jacked up.");
     
    23432343            g_current_progress++;
    23442344        }
     2345        /* Now we need to umount the current media to have the next mounted by insist_on_this_cd_number */
     2346        run_program_and_log_output("umount " MNT_CDROM, FALSE);
    23452347    }
    23462348    mr_free(mds);
Note: See TracChangeset for help on using the changeset viewer.