Changeset 1196 in MondoRescue for branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
- Timestamp:
- Feb 21, 2007, 2:40:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1168 r1196 2427 2427 sprintf(command, "cp -f tmp/i-want-my-lvm /tmp/"); 2428 2428 run_program_and_log_output(command, 1); 2429 /* sprintf(command, "grep \" lvm \" %s", g_mountlist_fname);2430 if (!run_program_and_log_output(command, 5) && !does_file_exist("/tmp/i-want-my-lvm"))2431 {2432 mr_msg(1, "Warning. You want LVM but I don't have i-want-my-lvm. FIXME.");2433 }2434 else if (run_program_and_log_output(command,5) && does_file_exist("/tmp/i-want-my-lvm"))2435 {2436 mr_msg(1, "Warning. You don't want LVM but i-want-my-lvm exists. I'll delete it. Cool.");2437 do_my_funky_lvm_stuff(TRUE, FALSE); // ...after I stop any LVMs :)2438 stop_raid_device("/dev/md0");2439 stop_raid_device("/dev/md1");2440 stop_raid_device("/dev/md2");2441 unlink("/tmp/i-want-my-lvm");2442 }2443 else if (!run_program_and_log_output(command,5) && does_file_exist("/tmp/i-want-my-lvm"))2444 {2445 mr_msg(1, "You had better pray that i-want-my-lvm patches your mountlist. FIXME.");2446 }2447 */2448 2429 } 2449 2430 }
Note:
See TracChangeset
for help on using the changeset viewer.