Ignore:
Timestamp:
Nov 12, 2009, 2:33:39 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • If using nolvm, mondorestore should also not analyze and handle i-want-my-lvm
  • Add support for diskdumplib driver useful for RHEL 3 and IBM xseries 336
  • Fix #367 - the for loop doesn't make any test now, as it was computed before entering the loop, leading to a

n error, and was also made inside the loop anyway.

  • Adds a nolvm boot option at restore time
  • small improvement for loging in USB case

(merge from 2.2.9 2475:2480)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mondo/src/mondorestore/mondo-prep.c

    r2462 r2481  
    213213    return (0);
    214214#endif
     215
     216    tmp = call_program_and_get_last_line_of_output("cat /proc/cmdline");
     217    if (strstr(tmp, "nolvm")) {
     218        mr_free(tmp);
     219        return(0);
     220    }
     221    mr_free(tmp);
    215222
    216223    if (!(fin = fopen("/tmp/i-want-my-lvm", "r"))) {
Note: See TracChangeset for help on using the changeset viewer.