summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/vfs_mountroot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_mountroot.c b/sys/kern/vfs_mountroot.c
index ac4927e..07c2988 100644
--- a/sys/kern/vfs_mountroot.c
+++ b/sys/kern/vfs_mountroot.c
@@ -713,7 +713,8 @@ parse_mount(char **conf)
goto out;
}
- if (dev[0] != '\0' && !parse_mount_dev_present(dev)) {
+ if (strcmp(fs, "zfs") != 0 && dev[0] != '\0' &&
+ !parse_mount_dev_present(dev)) {
printf("mountroot: waiting for device %s ...\n", dev);
delay = hz / 10;
timeout = root_mount_timeout * hz;
OpenPOWER on IntegriCloud