Changeset 1996 in MondoRescue
- Timestamp:
- Jul 10, 2008, 11:02:48 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.7/mondo/src/mondorestore/mondo-rstr-tools.c
r1990 r1996 2394 2394 sprintf(command, "cp -f tmp/i-want-my-lvm /tmp/"); 2395 2395 run_program_and_log_output(command, 1); 2396 /* sprintf(command, "grep \" lvm \" %s", g_mountlist_fname);2397 if (!run_program_and_log_output(command, 5) && !does_file_exist("/tmp/i-want-my-lvm"))2398 {2399 log_msg(1, "Warning. You want LVM but I don't have i-want-my-lvm. FIXME.");2400 }2401 else if (run_program_and_log_output(command,5) && does_file_exist("/tmp/i-want-my-lvm"))2402 {2403 log_msg(1, "Warning. You don't want LVM but i-want-my-lvm exists. I'll delete it. Cool.");2404 do_my_funky_lvm_stuff(TRUE, FALSE); // ...after I stop any LVMs :)2405 stop_raid_device("/dev/md0");2406 stop_raid_device("/dev/md1");2407 stop_raid_device("/dev/md2");2408 unlink("/tmp/i-want-my-lvm");2409 }2410 else if (!run_program_and_log_output(command,5) && does_file_exist("/tmp/i-want-my-lvm"))2411 {2412 log_msg(1, "You had better pray that i-want-my-lvm patches your mountlist. FIXME.");2413 }2414 */2415 2396 } 2416 2397 }
Note:
See TracChangeset
for help on using the changeset viewer.