summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2013-08-03 04:25:25 +0000
committermarcel <marcel@FreeBSD.org>2013-08-03 04:25:25 +0000
commit65c945d5837493805e85471f2482c74e902d3cc2 (patch)
treeadca6f3233f1def8fc4c67237b30b1afceceee9a
parentbe25b04bb555e2ae006f4be3810909008c187393 (diff)
downloadFreeBSD-src-65c945d5837493805e85471f2482c74e902d3cc2.zip
FreeBSD-src-65c945d5837493805e85471f2482c74e902d3cc2.tar.gz
Add a tunable for the default timeout.
-rw-r--r--sys/kern/vfs_mountroot.c1
1 files changed, 1 insertions, 0 deletions
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)
OpenPOWER on IntegriCloud