Where is loader.conf.gz?

Andrey V. Elsukov bu7cher at yandex.ru
Fri Aug 8 10:32:08 UTC 2014


On 08.08.2014 01:46, hiren panchasara wrote:
>     /* pass file name to the different filesystem open routines */
>     besterror = ENOENT;
>     for (i = 0; file_system[i] != NULL; i++) {
>          fs = file_system[i];
>          error = (fs->fo_open)(file, f);    <-----zf_open() is called
> which returns ENOENT
>          if (error == 0)
>              goto ok;
>          if (error != EINVAL)
>              besterror = error;
>     }
>     error = besterror;
> 
> So, the error is ENOENT at this point. But it fails in what happens after this:

It looks like loader.efi should first open /boot/loader.conf via
devopen() a bit earlier in this code. Did you see this attempt in the
tcpdump? Can you stop loader and see what value has currdev environment
variable?

-- 
WBR, Andrey V. Elsukov


More information about the freebsd-hackers mailing list