The bootstrap filesystem doesn't have to be ext2fs
---
 startup/startup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/startup/startup.c b/startup/startup.c
index 27af818b..b9fed241 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -1516,7 +1516,7 @@ S_startup_essential_task (mach_port_t server,
         }
       else if (!strcmp (name, "proc"))
        procinit = 1;
-      else if (!strcmp (name, "ext2fs"))
+ else if (strlen (name) >= 2 && !strcmp (name + strlen(name) - 2 , "fs"))
         fsinit = 1;
       else
         {

Reply via email to