Ignore:
Timestamp:
Jul 24, 2007, 1:39:36 AM (17 years ago)
Author:
Bruno Cornec
Message:
  • Add the possibiilty to edit in interactive mode mtab and device.map for grub
  • Remove blkid cache files after restore to avoid problems in cloning mode
  • Fix what seems to appear a huge number of bugs in hack-fstab (illustration of 1 LOC = 1 bug :-)
  • Especially improve LABEL and UUID support.
  • Should fix #185
  • Exclude_path should be 4*MAX_STR_LEN everywhere. Fixed now.
  • Increasing that value will allow to having larger exclude paths.
  • Should solve bug #137 (and maybe #3 as well)
  • Adds support for fedora 7

(merge -r 1533:1547 $SVN_M/branches/2.2.5)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/mondoarchive/mondo-cli.c

    r1529 r1548  
    577577        mr_asprintf(&psz, list_of_NFS_mounts_only());
    578578        if (bkpinfo->exclude_paths[0]) {
    579             strncat(bkpinfo->exclude_paths, " ", MAX_STR_LEN);
    580         }
    581         strncat(bkpinfo->exclude_paths, psz, MAX_STR_LEN);
     579            strncat(bkpinfo->exclude_paths, " ", 4*MAX_STR_LEN);
     580        }
     581        strncat(bkpinfo->exclude_paths, psz, 4*MAX_STR_LEN);
    582582        mr_free(psz);
    583583        mr_msg(3, "-N means we're now excluding %s",
    584584                bkpinfo->exclude_paths);
    585585    }
    586     if (strlen(bkpinfo->exclude_paths) >= MAX_STR_LEN) {
     586    if (strlen(bkpinfo->exclude_paths) >= 4*MAX_STR_LEN) {
    587587        fatal_error
    588             ("Your '-E' parameter is too long. Please use '-J'. (See manual.)");
     588            ("Your '-E' parameter is too long. Increase MAX_STR_LEN");
    589589    }
    590590    if (flag_set['b']) {
Note: See TracChangeset for help on using the changeset viewer.