Changeset 1320 in MondoRescue
- Timestamp:
- Apr 16, 2007, 7:24:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.2/mondo/src/mondorestore/mondo-prep.c
r1316 r1320 410 410 } 411 411 sprintf(command, 412 "for i in `%s | cut -d\"'\" -f2 | sort -r` ; do echo \"Shutting down lv $i\" >> " 413 MONDO_LOGFILE "; %s -f $i; done", lvscan_sz, lvremove_sz); 412 "for i in `%s | cut -d\"'\" -f2 | sort -r` ; do echo \"Shutting down lv $i\" >> %s ; %s -f $i; done", lvscan_sz, MONDO_LOGFILE, lvremove_sz); 414 413 run_program_and_log_output(command, 5); 415 414 sleep(1); 416 415 sprintf(command, 417 "for i in `%s | grep -i lvm | cut -d'\"' -f2` ; do %s -a n $i ; %s $i; echo \"Shutting down vg $i\" >> " 418 MONDO_LOGFILE "; done", vgscan_sz, vgchange_sz, vgremove_sz); 416 "for i in `%s | grep -i lvm | cut -d'\"' -f2` ; do %s -a n $i ; %s $i; echo \"Shutting down vg $i\" >> %s ; done", vgscan_sz, vgchange_sz, vgremove_sz, MONDO_LOGFILE); 419 417 run_program_and_log_output(command, 5); 420 418 if (just_erase_existing_volumes) {
Note:
See TracChangeset
for help on using the changeset viewer.