Changeset 2462 in MondoRescue for branches/2.2.10/mondo/src/mondorestore/mondorestore.c
- Timestamp:
- Oct 20, 2009, 4:07:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/mondorestore/mondorestore.c
r2405 r2462 102 102 103 103 /** 104 * The location of 'mondo -restore.cfg', containing the metadata104 * The location of 'mondorestore.cfg', containing the metadata 105 105 * information for this backup. 106 106 */ … … 162 162 assert(raidlist != NULL); 163 163 if (!bkpinfo->disaster_recovery) { 164 strcpy(g_mountlist_fname, "/tmp/mountlist.txt");164 strcpy(g_mountlist_fname, MINDI_CACHE"/mountlist.txt"); 165 165 log_msg(2, "I guess you're testing edit_mountlist()"); 166 166 } … … 2074 2074 2075 2075 mvaddstr_and_log_it(g_currentY, 0, "Restoring from archives"); 2076 log_msg(2, "Insisting on 1st CD , so that I can have a look at LAST-FILELIST-NUMBER");2076 log_msg(2, "Insisting on 1st CD"); 2077 2077 if (g_current_media_number != 1) { 2078 2078 log_msg(3, "OK, that's jacked up."); … … 2695 2695 load_raidtab_into_raidlist(raidlist, RAIDTAB_FNAME); 2696 2696 if (!does_file_exist(g_mountlist_fname)) { 2697 strcpy(g_mountlist_fname, "/tmp/mountlist.txt");2697 strcpy(g_mountlist_fname, MINDI_CACHE"/mountlist.txt"); 2698 2698 } 2699 2699 res = let_user_edit_the_mountlist(mountlist, raidlist); … … 2795 2795 log_msg(0, "Partitioning only."); 2796 2796 load_raidtab_into_raidlist(raidlist, RAIDTAB_FNAME); 2797 strcpy(g_mountlist_fname, "/tmp/mountlist.txt");2797 strcpy(g_mountlist_fname, MINDI_CACHE"/mountlist.txt"); 2798 2798 load_mountlist(mountlist, g_mountlist_fname); 2799 2799 res = partition_everything(mountlist); … … 2804 2804 log_msg(0, "Formatting only."); 2805 2805 load_raidtab_into_raidlist(raidlist, RAIDTAB_FNAME); 2806 strcpy(g_mountlist_fname, "/tmp/mountlist.txt");2806 strcpy(g_mountlist_fname, MINDI_CACHE"/mountlist.txt"); 2807 2807 load_mountlist(mountlist, g_mountlist_fname); 2808 2808 res = format_everything(mountlist, FALSE, raidlist); … … 2813 2813 log_msg(0, "Stopping LVM and RAID"); 2814 2814 load_raidtab_into_raidlist(raidlist, RAIDTAB_FNAME); 2815 strcpy(g_mountlist_fname, "/tmp/mountlist.txt");2815 strcpy(g_mountlist_fname, MINDI_CACHE"/mountlist.txt"); 2816 2816 load_mountlist(mountlist, g_mountlist_fname); 2817 2817 res = do_my_funky_lvm_stuff(TRUE, FALSE);
Note:
See TracChangeset
for help on using the changeset viewer.