mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 06:39:32 -04:00
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:
parent
145e5188c9
commit
366523d101
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue