Changeset 1924 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Apr 18, 2008, 1:41:41 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1903 r1924 1118 1118 BIGGIELIST_TXT_STUB, 1119 1119 FILELIST_FULL_STUB, 1120 " tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);1120 "./tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB); 1121 1121 mr_msg(1, "tarcommand = %s", command); 1122 1122 run_program_and_log_output(command, 1); … … 1135 1135 BIGGIELIST_TXT_STUB, 1136 1136 FILELIST_FULL_STUB, 1137 " tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB);1137 "./tmp/i-want-my-lvm", MONDO_CFG_FILE_STUB); 1138 1138 mr_msg(1, "tarcommand = %s", command); 1139 1139 run_program_and_log_output(command, 1); … … 1142 1142 if (!does_file_exist(BIGGIELIST_TXT_STUB)) { 1143 1143 fatal_error 1144 ("all.tar.gz did not include tmp/biggielist.txt");1144 ("all.tar.gz did not include ./tmp/biggielist.txt"); 1145 1145 } 1146 1146 if (!does_file_exist(FILELIST_FULL_STUB)) { 1147 1147 fatal_error 1148 ("all.tar.gz did not include tmp/filelist.full.gz");1148 ("all.tar.gz did not include ./tmp/filelist.full.gz"); 1149 1149 } 1150 1150 } … … 2083 2083 1024L * 1024 * 32 / bkpinfo->internal_tape_block_size, 2084 2084 MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, 2085 BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, " tmp/i-want-my-lvm");2085 BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm"); 2086 2086 mr_msg(2, "command = '%s'", command); 2087 2087 res = run_program_and_log_output(command, -1); … … 2113 2113 char *ramdisk_fname = NULL; 2114 2114 char *mountlist_file = NULL; 2115 int res = 0;2116 2115 2117 2116 bool try_plan_B = FALSE; … … 2205 2204 mr_msg(2, 2206 2205 "gcffa --- Plan B, a.k.a. untarring some file from all.tar.gz"); 2207 mr_asprintf(&command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, " tmp/i-want-my-lvm"); // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary2206 mr_asprintf(&command, "tar -zxvf " MNT_CDROM "/images/all.tar.gz %s %s %s %s %s", MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm"); // add -b TAPE_BLOCK_SIZE if you _really_ think it's necessary 2208 2207 run_program_and_log_output(command, TRUE); 2209 2208 mr_free(command);
Note:
See TracChangeset
for help on using the changeset viewer.