Changeset 2623 in MondoRescue for branches/2.2.10/mondo/test/test-mountlist.c


Ignore:
Timestamp:
Apr 12, 2010, 3:23:24 PM (14 years ago)
Author:
Bruno Cornec
Message:

r3783@localhost: bruno | 2010-04-11 11:57:27 +0200

  • Use MINDI_CACHE for temp file communication between archive/restore
  • Remove some now useless globals in mondo
  • Remove function get_cfg_file_from_archive_or_bust and get_cfg_file_from_archive
  • Adds function get_cfg_file_from_initrd (Not finished)
  • Recovery doesn't work in that version atm (checkpoint version)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/test/test-mountlist.c

    r2508 r2623  
    2828char *g_isodir_device;
    2929char *g_isodir_format;
    30 char *g_biggielist_txt;
    3130char *g_filelist_full;
    3231char *g_filelist_imagedevs;
    3332char *g_imagedevs_restthese;
    3433
    35 char *g_mondo_cfg_file;
    36 
    37 char *g_mountlist_fname;
    3834char *g_mondo_home;
    3935
     
    6864
    6965setup_newt_stuff();
    70 mr_asprintf(g_mountlist_fname, MINDI_CACHE"/mountlist.txt");
    7166log_it("before mountlist");
    72 load_mountlist(mountlist, g_mountlist_fname);
     67load_mountlist(mountlist, MINDI_CACHE"/mountlist.txt");
    7368log_it("after mountlist");
    7469resize_mountlist_proportionately_to_suit_new_drives(mountlist);
     
    7671load_raidtab_into_raidlist(raidlist, RAIDTAB_FNAME);
    7772log_it("after load_raidtab_into_raidlist");
    78 edit_mountlist(g_mountlist_fname, mountlist, raidlist);
     73edit_mountlist(MINDI_CACHE"/mountlist.txt", mountlist, raidlist);
    7974log_it("after edit_mountlist");
    8075
Note: See TracChangeset for help on using the changeset viewer.