How to make boot wait a few seconds more for device response?

Ian Lepore ian at FreeBSD.org
Sun Jan 5 21:16:23 UTC 2014


On Sun, 2014-01-05 at 21:06 +0000, Thomas Mueller wrote:
> > I don't know whether it's documented anywhere, I just remembered seeing
> > it in the source when I was working on a change to nfs root filesystems,
> > so I grepped and re-found it yesterday.  I think it's set in terms of
> > whole seconds.
> 
> -- Ian
> 
> This was for vfs.mountroot.timeout .  
> 
> There needs to be better documentation.  I have already searched for too many needles in the haystack and lost a lot of time that way.
> 
> I could type "show" at loader prompt, but figure only a small chance of finding everything, output may be sketchy.
> 
> So I still don't know whether it should be seconds or milliseconds.
> 
> Where did you find it in the source tree?  I made another search, unsuccessful, for the needle in the haystack.
> 
> Tom

Yes, for vfs.mountroot.timeout the units are whole seconds.

It's implemented in src/sys/kern/vfs_mountroot.c

-- Ian




More information about the freebsd-stable mailing list