Changeset 3139 in MondoRescue
- Timestamp:
- Jun 13, 2013, 7:44:24 AM (11 years ago)
- Location:
- branches/3.0/mondo/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/common/libmondo-filelist.c
r3138 r3139 271 271 siz = 0; 272 272 } else { 273 // blocks are 512 bytes long - cf man 2 stat - Pass to the next unit (kB => MB e.g.)273 // blocks are 512 bytes long - cf man 2 stat - Pass to the previous unit (MB => kB e.g.) 274 274 // use blocks instead of size to allow sparse file correct handling as much as possible 275 275 siz = (long) ((buf.st_blocks*512) >> 10); 276 276 } 277 277 if (siz > g_max_biggie_size) { 278 log_msg(10, "Adding %s to big files \n", incoming);278 log_msg(10, "Adding %s to big files (size = %ld)\n", incoming, siz); 279 279 fprintf(fbig, "%s\n", incoming); 280 280 } else { 281 281 curr_set_size += siz; 282 log_msg(10, "Adding %s to filelist %d \n", incoming, curr_set_no);282 log_msg(10, "Adding %s to filelist %d (size = %ld)\n", incoming, curr_set_no, siz); 283 283 fprintf(fout, "%s\n", incoming); 284 284 if (curr_set_size > maxsetsizeK) { -
branches/3.0/mondo/src/mondoarchive/mondoarchive.h
r3138 r3139 9 9 */ 10 10 char *MONDO_LOGFILE = "/var/log/mondoarchive.log"; 11 char *MONDO_OPTIONS = "0123456789A:B:C:DE:GHI:J:K:LM 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:LM:NOP: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.