Changeset 2548 in MondoRescue
- Timestamp:
- Jan 25, 2010, 2:24:23 PM (15 years ago)
- Location:
- branches/2.2.9/mondo/src/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mondo/src/common/libmondo-archive.c
r2507 r2548 1024 1024 sprintf(archiving_filelist_fname, FILELIST_FNAME_RAW_SZ, 1025 1025 bkpinfo->tmpdir, 0L); 1026 for (archiving_set_no = 0 ; does_file_exist(archiving_filelist_fname);1026 for (archiving_set_no = 0L; does_file_exist(archiving_filelist_fname); 1027 1027 sprintf(archiving_filelist_fname, FILELIST_FNAME_RAW_SZ, 1028 1028 bkpinfo->tmpdir, archiving_set_no)) { -
branches/2.2.9/mondo/src/common/libmondo-filelist.c
r2521 r2548 282 282 } 283 283 if (siz > max_sane_size_for_a_file) { 284 log_msg(10, "Adding %s to big files\n", incoming); 284 285 fprintf(fbig, "%s\n", incoming); 285 286 } else { 286 287 curr_set_size += siz; 288 log_msg(10, "Adding %s to filelist %d\n", incoming, curr_set_no); 287 289 fprintf(fout, "%s\n", incoming); 288 290 if (curr_set_size > maxsetsizeK) { … … 475 477 mr_asprintf(&syscall, "%s 2>> /dev/null", strtmp); // " MONDO_LOGFILE); 476 478 paranoid_free(strtmp); 479 log_msg(20,"calling %s\n",syscall); 477 480 call_exe_and_pipe_output_to_fd(syscall, pout); 478 481 paranoid_free(syscall); … … 516 519 mr_free(command); 517 520 retval = 518 gen_aux_list(filelist, "getfattr --en=hex - P -m - -d \"%s\"",521 gen_aux_list(filelist, "getfattr --en=hex -m - -d \"%s\"", 519 522 fattr_fname); 520 523 } … … 1366 1369 #if linux 1367 1370 // 2.6 has /sys as a proc-type thing -- must be excluded 1368 mr_asprintf(&strtmp, "find '%s' -fstype mvfs -prune -o -fstype devpts -prune -o -fstype tmpfs -prune -o -fstype proc -prune -o -fstype sysfs -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist);1371 mr_asprintf(&strtmp, "find '%s' -fstype mvfs -prune -o -fstype devpts -prune -o -fstype tmpfs -prune -o -fstype proc -prune -o -fstype sysfs -prune -o -fstype rpc_pipefs -prune -o %s -type d -print > %s 2> /dev/null", dir, find_excludes, g_skeleton_filelist); 1369 1372 #else 1370 1373 // On BSD, for example, /sys is the kernel sources -- don't exclude
Note:
See TracChangeset
for help on using the changeset viewer.