[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH hurd] startup: wait for any kind of bootstrap filesystem
From: |
Samuel Thibault |
Subject: |
Re: [PATCH hurd] startup: wait for any kind of bootstrap filesystem |
Date: |
Thu, 9 May 2024 16:58:30 +0200 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
Applied, thanks!
first last, le mar. 07 mai 2024 18:57:21 -0400, a ecrit:
> 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
> {
>