Changeset 3138 in MondoRescue for branches/3.0/mondo
- Timestamp:
- Jun 13, 2013, 6:37:24 AM (11 years ago)
- Location:
- branches/3.0/mondo
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/configure.in
r3058 r3138 122 122 AC_TYPE_SIZE_T 123 123 AC_TYPE_SSIZE_T 124 AC_STRUCT_ST_BLOCKS 124 125 125 126 # Checks for library functions. -
branches/3.0/mondo/src/common/libmondo-cli.c
r3111 r3138 53 53 54 54 extern void free_MR_global_filenames(void); 55 56 long g_max_biggie_size = BIGGIEMAXSIZE; 55 57 56 58 /** … … 670 672 if (flag_set['e']) { 671 673 bkpinfo->please_dont_eject = TRUE; 674 } 675 676 if (flag_set['M']) { 677 g_max_biggie_size = atol(flag_val['M']); 678 log_msg(1, "Max size for biggie file is now %ld KB", g_max_biggie_size); 672 679 } 673 680 -
branches/3.0/mondo/src/common/libmondo-filelist.c
r3137 r3138 32 32 extern char *MONDO_LOGFILE; 33 33 34 extern long g_max_biggie_size; 35 34 36 /* Reference to global bkpinfo */ 35 37 extern struct s_bkpinfo *bkpinfo; … … 199 201 long lino = 0; 200 202 // A big file has more than 64 MB of real content 201 long max_sane_size_for_a_file = 64L * 1024L;202 203 long curr_set_size; 203 204 long noof_lines; … … 274 275 siz = (long) ((buf.st_blocks*512) >> 10); 275 276 } 276 if (siz > max_sane_size_for_a_file) {277 if (siz > g_max_biggie_size) { 277 278 log_msg(10, "Adding %s to big files\n", incoming); 278 279 fprintf(fbig, "%s\n", incoming); -
branches/3.0/mondo/src/include/my-stuff.h
r2943 r3138 329 329 #define ACL_BIGGLST_FNAME_RAW_SZ "%s/acl_list.big.gz" 330 330 331 #define BIGGIEMAXSIZE 64L*1024L 331 332 /** 332 333 * The template for an afioball filename. -
branches/3.0/mondo/src/mondoarchive/mondoarchive.h
r1967 r3138 9 9 */ 10 10 char *MONDO_LOGFILE = "/var/log/mondoarchive.log"; 11 char *MONDO_OPTIONS = "0123456789A:B:C:DE:GHI:J:K:L NOP:QRS:T:UVWb:c:d:ef:gik:l:mn:op:rs:tuw:x:z";11 char *MONDO_OPTIONS = "0123456789A:B:C:DE:GHI:J:K:LMNOP:QRS:T:UVWb:c:d:ef:gik:l:mn:op:rs:tuw:x:z"; 12 12 13 13 /* No restriction on ps options */
Note:
See TracChangeset
for help on using the changeset viewer.