Changeset 1251 in MondoRescue
- Timestamp:
- Mar 20, 2007, 11:43:15 AM (18 years ago)
- Location:
- branches/stable/mondo/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/newt-specific.c
r1213 r1251 1525 1525 1526 1526 1527 void wait_until_software_raids_are_prepped(char *mdstat_file, 1528 int wait_for_percentage); 1527 void wait_until_software_raids_are_prepped(int wait_for_percentage); -
branches/stable/mondo/src/mondorestore/mondo-prep.c
r1197 r1251 905 905 mr_msg(1, "Creating LVMs"); 906 906 if (does_file_exist("/tmp/i-want-my-lvm")) { 907 wait_until_software_raids_are_prepped( "/proc/mdstat",100);907 wait_until_software_raids_are_prepped(100); 908 908 log_to_screen(_("Configuring LVM")); 909 909 if (!g_text_mode) { -
branches/stable/mondo/src/mondorestore/mondo-rstr-tools-EXT.h
r1200 r1251 38 38 extern void ask_about_these_imagedevs(char *infname, char *outfname); 39 39 40 extern void wait_until_software_raids_are_prepped(char *mdstat_file, 41 int wait_for_percentage); 40 extern void wait_until_software_raids_are_prepped(int wait_for_percentage); -
branches/stable/mondo/src/mondorestore/mondo-rstr-tools.c
r1241 r1251 2347 2347 2348 2348 2349 void wait_until_software_raids_are_prepped(char *mdstat_file, 2350 int wait_for_percentage) 2349 void wait_until_software_raids_are_prepped(int wait_for_percentage) 2351 2350 { 2352 2351 struct raidlist_itself *raidlist = NULL; -
branches/stable/mondo/src/mondorestore/mondorestore.c
r1239 r1251 2688 2688 2689 2689 2690 extern void wait_until_software_raids_are_prepped( char *,int);2690 extern void wait_until_software_raids_are_prepped(int); 2691 2691 2692 2692 char which_restore_mode(void); … … 2958 2958 } 2959 2959 2960 if (argc == 3&& strcmp(argv[1], "--mdstat") == 0) {2961 wait_until_software_raids_are_prepped( argv[2],100);2960 if (argc == 2 && strcmp(argv[1], "--mdstat") == 0) { 2961 wait_until_software_raids_are_prepped(100); 2962 2962 finish(0); 2963 2963 }
Note:
See TracChangeset
for help on using the changeset viewer.