[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH hurd] startup: wait for any kind of bootstrap filesystem
From: |
first last |
Subject: |
[PATCH hurd] startup: wait for any kind of bootstrap filesystem |
Date: |
Tue, 7 May 2024 18:57:21 -0400 |
User-agent: |
Mozilla Thunderbird |
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
{
- [PATCH hurd] startup: wait for any kind of bootstrap filesystem,
first last <=