Ignore:
Timestamp:
Apr 30, 2007, 10:47:47 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/stable/mondo/src/common/libmondo-tools.c

    r1365 r1373  
    10891089    if (tmp[0]) {
    10901090        log_it("/boot is at %s according to /etc/fstab", tmp);
    1091         if (strstr(tmp, "LABEL=")) {
     1091        if ((strstr(tmp, "LABEL=") || strstr(tmp,"UUID="))) {
    10921092            if (!run_program_and_log_output("mount /boot", 5)) {
    10931093                strcpy(g_boot_mountpt, "/boot");
    10941094                mr_msg(1, "Mounted /boot");
    10951095            } else {
    1096                 log_it("...ignored cos it's a label :-)");
     1096                log_it("...ignored cos it's a label or uuid :-)");
    10971097            }
    10981098        } else {
Note: See TracChangeset for help on using the changeset viewer.