Add a tunable for the default timeout.

This commit is contained in:
Marcel Moolenaar 2013-08-03 04:25:25 +00:00
parent 80a902ef7d
commit 90aa031bf1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253910

View File

@ -119,6 +119,7 @@ static int root_mount_complete;
/* By default wait up to 3 seconds for devices to appear. */
static int root_mount_timeout = 3;
TUNABLE_INT("vfs.mountroot.timeout", &root_mount_timeout);
struct root_hold_token *
root_mount_hold(const char *identifier)