Revision
23448
Author
zarzycki@apple.com
Date
2007-11-13 10:53:47 -0800 (Tue, 13 Nov 2007)

Log Message

<rdar://problem/5567165> SULeoNext: do not stop boot if fsck_hfs repair fails on journaled boot volume

Modified Paths

Diff

Modified: trunk/launchd/src/launchctl.c (23447 => 23448)


--- trunk/launchd/src/launchctl.c	2007-10-30 21:41:05 UTC (rev 23447)
+++ trunk/launchd/src/launchctl.c	2007-11-13 18:53:47 UTC (rev 23448)
@@ -2763,8 +2763,11 @@
 		goto out;
 	}
 
-	fprintf(stderr, "fsck failed! Leaving the root file system read-only...\n");
+	fprintf(stderr, "fsck failed!\n");
 
+	/* someday, we should keep booting read-only, but as of today, other sub-systems cannot handle that scenario */
+	assumes(reboot(RB_HALT) != -1);
+
 	return;
 out:
 	/*