ZFS pool name is not a real device in devfs. Do not wait for

device appear when mounting root from ZFS.

Reviewed by:	marcel
Approved by:	mav (mentor)
This commit is contained in:
Andrey V. Elsukov 2010-10-19 18:32:01 +00:00
parent 145e5188c9
commit 366523d101
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=214067

View File

@ -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;