Changeset 3138 in MondoRescue for branches/3.0/mondo/src/common/libmondo-cli.c


Ignore:
Timestamp:
Jun 13, 2013, 6:37:24 AM (11 years ago)
Author:
Bruno Cornec
Message:

r5337@localhost: bruno | 2013-06-13 01:56:06 +0200

  • Attempt to realize #700 by adding a CLI parameter to modify the biggie file size limit. By default 64 MB.
  • Also with previous commit, fixes #700 by using blocks, and adapting autoconf to use it as well.
File:
1 edited

Legend:

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

    r3111 r3138  
    5353
    5454extern void free_MR_global_filenames(void);
     55
     56long g_max_biggie_size = BIGGIEMAXSIZE;
    5557
    5658/**
     
    670672    if (flag_set['e']) {
    671673        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);
    672679    }
    673680
Note: See TracChangeset for help on using the changeset viewer.