Skip to content

Commit

Permalink
Merge pull request openzfs#19 from truenas/NAS-108200
Browse files Browse the repository at this point in the history
Write /sys/kernel/wait_for_device_probe before import.
  • Loading branch information
amotin authored Aug 17, 2021
2 parents e2465c1 + 448baa9 commit 76f63d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/initramfs/scripts/zfs
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ load_module_initrd()
fi

# Wait for all of the /dev/{hd,sd}[a-z] device nodes to appear.
echo "1" > /sys/kernel/wait_for_device_probe
if command -v wait_for_udev > /dev/null 2>&1 ; then
wait_for_udev 10
elif command -v wait_for_dev > /dev/null 2>&1 ; then
Expand Down

0 comments on commit 76f63d7

Please sign in to comment.