Changeset 1372 in MondoRescue


Ignore:
Timestamp:
Apr 30, 2007, 10:42:48 AM (17 years ago)
Author:
Bruno Cornec
Message:

Fix a bug in mondoarchive for UUID support of /boot (only LABEL were handled)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.4/mondo/src/common/libmondo-tools.c

    r1316 r1372  
    14031403    if (tmp[0]) {
    14041404        log_it("/boot is at %s according to /etc/fstab", tmp);
    1405         if (strstr(tmp, "LABEL=")) {
     1405        if ((strstr(tmp, "LABEL=") || strstr(tmp,"UUID="))) {
    14061406            if (!run_program_and_log_output("mount /boot", 5)) {
    14071407                strcpy(g_boot_mountpt, "/boot");
    14081408                log_msg(1, "Mounted /boot");
    14091409            } else {
    1410                 log_it("...ignored cos it's a label :-)");
     1410                log_it("...ignored cos it's a label or uuid :-)");
    14111411            }
    14121412        } else {
Note: See TracChangeset for help on using the changeset viewer.