diff options
author | marcel <marcel@FreeBSD.org> | 2013-08-03 04:25:25 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2013-08-03 04:25:25 +0000 |
commit | 65c945d5837493805e85471f2482c74e902d3cc2 (patch) | |
tree | adca6f3233f1def8fc4c67237b30b1afceceee9a /sys/kern/vfs_mountroot.c | |
parent | be25b04bb555e2ae006f4be3810909008c187393 (diff) | |
download | FreeBSD-src-65c945d5837493805e85471f2482c74e902d3cc2.zip FreeBSD-src-65c945d5837493805e85471f2482c74e902d3cc2.tar.gz |
Add a tunable for the default timeout.
Diffstat (limited to 'sys/kern/vfs_mountroot.c')
-rw-r--r-- | sys/kern/vfs_mountroot.c | 1 |
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) |