openzfsonosx/zfs — pull request #248 by evansus (2014-11-16 13:00:27+00:00)
Title: On zfs recv of a zvol, call zvol_create_minors

```
# zfs create -V 10m tank/test
# diskutil list

/dev/disk6
#: TYPE NAME SIZE IDENTIFIER
0: *10.5 MB disk6
# zfs snapshot tank/test@snap
# zfs send tank/test@snap | zfs recv tank/recv
# diskutil list

/dev/disk6
#: TYPE NAME SIZE IDENTIFIER
0: *10.5 MB disk6
<< should create disk7 >>
```

zfsonlinux has zvol_create_minors in the zfs_ioc_recv function, and I've tested that it works properly on a separate branch, which mirrors [ZoL zfs_ioctl.c] (https://github.com/zfsonlinux/zfs/blob/62bdd5eb7a35288cc25c5ae968bcd0f08889f986/module/zfs/zfs_ioctl.c#L4096-L4099)