Changeset 3139


Ignore:
Timestamp:
Jun 13, 2013, 7:44:24 AM (6 years ago)
Author:
bruno
Message:

r5341@localhost: bruno | 2013-06-13 03:02:29 +0200

  • The -M option now takes a parameter and works as expected
Location:
branches/3.0/mondo/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-filelist.c

    r3138 r3139  
    271271            siz = 0;
    272272        } 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.)
    274274            // use blocks instead of size to allow sparse file correct handling as much as possible
    275275            siz = (long) ((buf.st_blocks*512) >> 10);
    276276        }
    277277        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);
    279279            fprintf(fbig, "%s\n", incoming);
    280280        } else {
    281281            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);
    283283            fprintf(fout, "%s\n", incoming);
    284284            if (curr_set_size > maxsetsizeK) {
  • branches/3.0/mondo/src/mondoarchive/mondoarchive.h

    r3138 r3139  
    99 */
    1010char *MONDO_LOGFILE = "/var/log/mondoarchive.log";
    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";
     11char *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";
    1212
    1313/* No restriction on ps options */
Note: See TracChangeset for help on using the changeset viewer.