Changeset 1186 in MondoRescue for branches/stable/mondo/src/common/libmondo-archive.c
- Timestamp:
- Feb 19, 2007, 11:54:45 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-archive.c
r1180 r1186 345 345 346 346 if (bkpinfo->compression_level > 0) { 347 mr_asprintf(&tmp, "%s/do-not-compress-these", g_mondo_home);348 // -b %ld, TAPE_BLOCK_SIZE349 347 mr_asprintf(&zipparams, "-Z -P %s -G %d -T 3k", bkpinfo->zip_exe, 350 348 bkpinfo->compression_level); 349 mr_asprintf(&tmp, "%s/do-not-compress-these", g_mondo_home); 351 350 if (does_file_exist(tmp)) { 352 mr_asprintf(&tmp1, " %s -E %s", zipparams, tmp);353 mr_ free(zipparams);354 zipparams = tmp1;351 mr_asprintf(&tmp1, " -E +%s", tmp); 352 mr_strcat(zipparams, tmp1); 353 mr_free(tmp1); 355 354 } else { 356 355 mr_msg(3, "%s not found. Cannot exclude zipfiles, etc.", tmp); … … 1524 1523 *p_next_set_to_archive = 0; 1525 1524 log_to_screen("Archiving regular files"); 1526 mr_msg(5, "Go, Shorty. It's your birthday.");1527 1525 open_progress_form(_("Backing up filesystem"), 1528 1526 _("I am backing up your live filesystem now."), … … 1530 1528 _("Working..."), 1531 1529 get_last_filelist_number(bkpinfo) + 1); 1532 1533 mr_msg(5, "We're gonna party like it's your birthday.");1534 1530 1535 1531 srand((unsigned int) getpid());
Note:
See TracChangeset
for help on using the changeset viewer.