Changeset 2321 in MondoRescue for branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Aug 18, 2009, 2:37:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mondo/src/mondorestore/mondo-rstr-tools.c
r2316 r2321 1841 1841 void setup_MR_global_filenames() 1842 1842 { 1843 char *temppath;1844 1845 1843 assert(bkpinfo != NULL); 1846 1844 … … 1854 1852 malloc_string(g_isodir_device); 1855 1853 1856 temppath = bkpinfo->tmpdir; 1857 1858 sprintf(g_biggielist_txt, "%s/%s", temppath, BIGGIELIST_TXT_STUB); 1859 sprintf(g_filelist_full, "%s/%s", temppath, FILELIST_FULL_STUB); 1860 sprintf(g_filelist_imagedevs, "%s/tmp/filelist.imagedevs", temppath); 1861 sprintf(g_imagedevs_restthese, "%s/tmp/imagedevs.restore-these", temppath); 1854 sprintf(g_biggielist_txt, "%s/%s", bkpinfo->tmpdir, BIGGIELIST_TXT_STUB); 1855 sprintf(g_filelist_full, "%s/%s", bkpinfo->tmpdir, FILELIST_FULL_STUB); 1856 sprintf(g_filelist_imagedevs, "%s/tmp/filelist.imagedevs", bkpinfo->tmpdir); 1857 sprintf(g_imagedevs_restthese, "%s/tmp/imagedevs.restore-these", bkpinfo->tmpdir); 1862 1858 if (bkpinfo->disaster_recovery) { 1863 1859 sprintf(g_mondo_cfg_file, "/%s", MONDO_CFG_FILE_STUB); 1864 1860 sprintf(g_mountlist_fname, "/%s", MOUNTLIST_FNAME_STUB); 1865 1861 } else { 1866 sprintf(g_mondo_cfg_file, "%s/%s", temppath, MONDO_CFG_FILE_STUB);1867 sprintf(g_mountlist_fname, "%s/%s", temppath, MOUNTLIST_FNAME_STUB);1862 sprintf(g_mondo_cfg_file, "%s/%s", bkpinfo->tmpdir, MONDO_CFG_FILE_STUB); 1863 sprintf(g_mountlist_fname, "%s/%s", bkpinfo->tmpdir, MOUNTLIST_FNAME_STUB); 1868 1864 } 1869 1865 }
Note:
See TracChangeset
for help on using the changeset viewer.