Ignore:
Timestamp:
Feb 26, 2011, 5:37:13 PM (13 years ago)
Author:
Bruno Cornec
Message:
  • Adds functions and /bin/loadkeys (new location) to minimal set of commands to have
  • provides a makemessage option to mindi and this function now works with pbdistrocheck
  • Do not create an error when a phys device has 0 size and is a /dev/dm-* device
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mondo/src/common/libmondo-mountlist.c

    r2665 r2731  
    399399
    400400    if (physical_drive_size < 0) {
    401         mr_asprintf(&tmp, " %s does not exist.", drive);
    402         log_it(tmp);
    403         mr_strcat(flaws_str, "%s", tmp);
    404         res++;
    405         mr_free(tmp);
    406         goto endoffunc;
     401        if (strstr(drive,"/dev/dm-") != NULL) {
     402            mr_asprintf(&tmp, " %s does not exist.", drive);
     403            log_it(tmp);
     404            mr_strcat(flaws_str, "%s", tmp);
     405            res++;
     406            mr_free(tmp);
     407            goto endoffunc;
     408        } else {
     409            mr_asprintf(&tmp, " %s (dm) will be setup later on", drive);
     410            log_it(tmp);
     411            mr_free(tmp);
     412        }
    407413    } else {
    408414        mr_asprintf(&tmp, "%s is %ld MB", drive, physical_drive_size);
Note: See TracChangeset for help on using the changeset viewer.