Changeset 1990 in MondoRescue
- Timestamp:
- Jun 25, 2008, 2:35:39 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.7/mondo/src/mondorestore/mondo-rstr-tools.c
r1987 r1990 2218 2218 char *command; 2219 2219 int res = 0; 2220 // BCO: below 32KB seems to block at least on RHAS 2.1 and MDK 10.02221 long tape_block_size = 32768;2222 2220 2223 2221 malloc_string(command); … … 2225 2223 if (bkpinfo->use_obdr) { 2226 2224 skip_obdr(); 2227 } 2228 // tar -zxvf- 2225 } else { 2226 // BCO: below 32KB seems to block at least on RHAS 2.1 and MDK 10.0 2227 set_tape_block_size_with_mt(bkpinfo->internal_tape_block_size); 2228 } 2229 2229 2230 sprintf(command, 2230 2231 "dd if=%s bs=%ld count=%ld 2> /dev/null | tar -zx %s %s %s %s %s", 2231 2232 dev, 2232 tape_block_size,2233 1024L * 1024 * 32 / tape_block_size,2233 bkpinfo->internal_tape_block_size, 2234 1024L * 1024 * 32 / bkpinfo->internal_tape_block_size, 2234 2235 MOUNTLIST_FNAME_STUB, MONDO_CFG_FILE_STUB, 2235 2236 BIGGIELIST_TXT_STUB, FILELIST_FULL_STUB, "./tmp/i-want-my-lvm");
Note:
See TracChangeset
for help on using the changeset viewer.