Changeset 3138 in MondoRescue
- Timestamp:
- Jun 13, 2013, 6:37:24 AM (11 years ago)
- Location:
- branches/3.0
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo-doc/Makefile.howto
r541 r3138 45 45 @echo "Generating doc in PDF format" 46 46 @echo "----------------------------" 47 @ln -s /var/lib/texmf/web2c/pdfetex/pdfjadetex.fmt . 47 48 @docbook2pdf -d $(TARGET).dsl'#pdf' $(TARGET).sgml 48 49 -
branches/3.0/mondo-doc/mondoarchive.8
r3132 r3138 273 273 274 274 .TP 275 .BI "\-G " 276 Use gzip, the standard and quicker Linux compression engine, instead of bzip2. 277 278 .TP 275 279 .BI "\-H " 276 280 When you boot from the tape/CD, your hard drive will be wiped and the archives … … 285 289 286 290 .TP 287 .BI "\-G " 288 Use gzip, the standard and quicker Linux compression engine, instead of bzip2. 291 .BI "\-M " "max-size" 292 Gives the maximum size of a biggie file (by default 64 MB). The value should 293 be given in kB. Example use \-M 128000 to have biggie being more than 128 MB. 289 294 290 295 .TP 291 296 .BI "\-R " 292 EXPERIMENTAL. Do not use in mission-critical environments. Star is an 293 alternative to afio. Mondo now supports POSIX ACLs and extended 294 attributes, so \-R is essentially redundant for now. 297 Star is an alternative to afio. Can be useful for distributions considering 298 that afio is not free enough due to its age and old licenses (wrongly in our 299 opinion). Star can be used to have a better support of sparse file compared to 300 afio. Also star supports natively POSIX ACLs, where as afio requires a special 301 additional handlling. 295 302 296 303 .TP -
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.