]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow partition aliases in vdev_id.conf (#5266)
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 14 Oct 2016 23:11:16 +0000 (16:11 -0700)
committerGitHub <noreply@github.com>
Fri, 14 Oct 2016 23:11:16 +0000 (16:11 -0700)
commitdabb6f4fab38f5a729e8241425a5394ae7fd96d4
treeb8107bde4af50403c6136550d4f853a133ae160e
parentb6ca6193f7678a9d8790f4319c982cc34b59f150
Allow partition aliases in vdev_id.conf (#5266)

When pools are assembled from partitions, vdev_id.conf aliases
do not work.  The directory /dev/disk/by-vdev is not created because
the associated udev rule for parsing vdev_id.conf is never called.
Extend to logic to match "disk" and "partition".

Patch-proposed-by: @sparksh
Reviewed-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3859
Closes #5266
udev/rules.d/69-vdev.rules.in