Ignore:
Timestamp:
Oct 9, 2009, 3:18:59 PM (15 years ago)
Author:
Bruno Cornec
Message:
  • Adds a conf file example for mindi and fix #360 + mode of file
  • Apply path from Matthew Cline (matt_at_nightrealms.com) in order to fix #359
  • Adds support for libcrc32c (needed by bnx2x)
  • afio is under /bin on Debian
  • Fix an error in the test for grub conf files (or used instead of and)
  • Fix a bug in handling of -E option with real devices (bad report in function mr_make_devlist_from_pathlist of the test between -E and -I)
  • CIFS mounts shouldn't be part of the mountlist analysis (should help solving #288)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/common/libmondo-devices.c

    r2446 r2460  
    16321632        /* There were no partitions on the disk */
    16331633        log_msg(4, "No partitions on device special file %s", dsf);
    1634         log_msg(4, "I guess it's a partiion itself");
     1634        log_msg(4, "I guess it's a partition itself");
    16351635        mr_asprintf(partitions[0], "%s", dsf);
    16361636        mr_asprintf(tmp, "%s", dsf);
     
    19141914            log_msg(1, "WARNING ! %s doesn't exist in -E option", token);
    19151915        } else {
     1916            log_msg(1, "ERROR ! %s doesn't exist in -I option", token);
    19161917            fatal_error("Error processing -I option");
    19171918        }
     
    19261927                mr_strcat(bkpinfo->exclude_paths, "%s ", mounted_on_dsf);
    19271928                mr_strcat(bkpinfo->exclude_devs, " %s ", token);
    1928             } else {
    1929                 log_to_screen("Archiving only the following file systems on %s:\n", token);
    1930                 log_to_screen("  %s\n", mounted_on_dsf);
    1931                 mr_asprintf(bkpinfo->include_paths, "/");
    1932                 if (strlen(not_mounted_on_dsf)) {
    1933                     log_msg (5, "Adding to bkpinfo->exclude_paths due to -I option: %s", not_mounted_on_dsf);
    1934                     log_to_screen("Not archiving the following file systems:\n");
    1935                     log_to_screen("  %s\n", not_mounted_on_dsf);
    1936                     mr_strcat(bkpinfo->exclude_paths, "%s ", not_mounted_on_dsf);
    1937                 }
     1929            }
     1930        } else {
     1931            log_to_screen("Archiving only the following file systems on %s:\n", token);
     1932            log_to_screen("  %s\n", mounted_on_dsf);
     1933            strcpy(bkpinfo->include_paths, "/");
     1934            if (strlen(not_mounted_on_dsf)) {
     1935                log_msg (5, "Adding to bkpinfo->exclude_paths due to -I option: %s", not_mounted_on_dsf);
     1936                log_to_screen("Not archiving the following file systems:\n");
     1937                log_to_screen("  %s\n", not_mounted_on_dsf);
     1938                strcat(bkpinfo->exclude_paths, not_mounted_on_dsf);
     1939                strcat(bkpinfo->exclude_paths, "");
    19381940            }
    19391941        }
Note: See TracChangeset for help on using the changeset viewer.