Changeset 1680


Ignore:
Timestamp:
Oct 12, 2007, 12:21:57 PM (12 years ago)
Author:
bruno
Message:

new parameter handled (differential)

Location:
branches/stable/mondo
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/distributions/conf/mondo.conf.dist

    r1671 r1680  
    8181
    8282#
    83 # Create mindi CD (yes|no) ?
     83# Differential backup or full (yes|no)
    8484#
    85 mondo_create_mindi_cd=no
     85mondo_differential=no
     86
     87# DONE
    8688
    8789#
     
    8991#
    9092mondo_kernel="NATIVE"
    91 #mondorescue_kernel="/boot/vmlinuz.special"
    92 
    93 #
    94 # Additional modules to support
    95 # (white space separated list of modules or "all" for maximum cloning capability)
    96 #
    97 mondo_additional_modules="all"
     93#mondo_kernel="/boot/vmlinuz.special"
    9894
    9995#
     
    104100
    105101# DONE
    106 #
    107 # Differential backup or full (yes|no)
    108 #
    109 mondo_differential=no
    110 
    111102#
    112103# Default compression tool
  • branches/stable/mondo/src/include/mr_conf.h

    r1639 r1680  
    4747    /* Internal tape blocksize */
    4848    int internal_tape_blocksize;
    49     /* Create mindi CD ? */
    50     bool create_mindi_cd;
    5149    /* Kernel to use */
    5250    char *kernel;
  • branches/stable/mondo/src/mondoarchive/mondo-cli.c

    r1669 r1680  
    581581    if (flag_set['D']) {
    582582        bkpinfo->differential = TRUE;
     583    } else {
     584        bkpinfo->differential = mr_conf->differential;
    583585    }
    584586
  • branches/stable/mondo/src/mondoarchive/mondoarchive.c

    r1663 r1680  
    155155    mr_cnf->external_tape_blocksize = 0;
    156156    mr_cnf->internal_tape_blocksize = 0;
    157     mr_cnf->create_mindi_cd = FALSE;
    158157    mr_cnf->kernel = NULL;
    159158    mr_cnf->additional_modules = NULL;
     
    255254    if (p != NULL) {
    256255        mr_cnf->internal_tape_blocksize = atoi(p);
    257         mr_free(p);
    258     }
    259 
    260     p = mr_conf_bread("mondo_create_mindi_cd");
    261     if (p != NULL) {
    262         mr_cnf->create_mindi_cd = mr_atob(p);
    263256        mr_free(p);
    264257    }
Note: See TracChangeset for help on using the changeset viewer.