From 65c945d5837493805e85471f2482c74e902d3cc2 Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 3 Aug 2013 04:25:25 +0000 Subject: Add a tunable for the default timeout. --- sys/kern/vfs_mountroot.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c index 57d155b..e873cf9 100644 --- a/sys/kern/vfs_mountroot.c +++ b/sys/kern/vfs_mountroot.c @@ -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) -- cgit v1.1