- printf("unmounting filesystems...
");
- unmountFilesystems();
-
- /* We've lost /mnt/runtime where /lib is a link to put the old
+ /* We'll lose /mnt/runtime where /lib is a link to put the old
/lib back so that our mdadm invocation below works. */
if (stat("/lib64", &st_buf) == 0) {
unlink("/lib64");
@@ -118,6 +115,9 @@ static void performUnmounts(void) {
unlink("/usr");
rename("/usr_old", "/usr");
+ printf("unmounting filesystems...
");
+ unmountFilesystems();
+
printf("waiting for mdraid sets to become clean...
");
status = system("/sbin/mdadm --wait-clean --scan");
if (!WIFEXITED(status))
--
1.7.4.4
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list