[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hurd-bug
Subject:    Re: [PATCH hurd] startup: wait for any kind of bootstrap filesystem
From:       Samuel Thibault <samuel.thibault () gnu ! org>
Date:       2024-05-09 14:58:30
Message-ID: 20240509145830.egy4a4proorkpii4 () begin
[Download RAW message or body]

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
>          {
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic