Changeset 2480 in MondoRescue for branches/2.2.9


Ignore:
Timestamp:
Nov 12, 2009, 1:09:40 AM (14 years ago)
Author:
Bruno Cornec
Message:
  • If using nolvm, mondorestore should also not nalyze and handle i-want-my-lvm
File:
1 edited

Legend:

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

    r2298 r2480  
    222222#endif
    223223
     224    if (strstr(call_program_and_get_last_line_of_output("cat /proc/cmdline"), "nolvm")) {
     225        return(0);
     226    }
    224227    if (!(fin = fopen("/tmp/i-want-my-lvm", "r"))) {
    225228        log_OS_error("/tmp/i-want-my-lvm");
Note: See TracChangeset for help on using the changeset viewer.