Angie Wang 03ec7e8a41 Remove deprecated virtio by-path rules
There is a set of duplicated by-path symlinks created if system boots
with virtio emulation.
ie...
virtio-pci-0000:00:06.0 -> ../../vda
virtio-pci-0000:00:06.0-part1 -> ../../vda1
virtio-pci-0000:00:06.0-part5 -> ../../vda5
virtio-pci-0000:00:06.0-part4 -> ../../vda4
virtio-pci-0000:00:06.0-part3 -> ../../vda3
virtio-pci-0000:00:06.0-part2 -> ../../vda2

These links are useless as there is another set of by-path symlinks
set by the following common rules:
ENV{DEVTYPE}=="disk", DEVPATH!="*/virtual/*", IMPORT{builtin}="path_id"
ENV{DEVTYPE}=="disk", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}"
ENV{DEVTYPE}=="partition", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n"

Tested on hardware labs, QEMU/KVM and VirtualBox

Story: 2007858
Task: 40724
Change-Id: I871ce1190022cb5b7914615a66e78699d5afe089
Signed-off-by: Angie Wang <angie.wang@windriver.com>
2020-08-21 16:46:53 -04:00
..
2018-11-21 22:29:21 +08:00
2018-11-21 22:29:21 +08:00
2018-11-21 22:29:21 +08:00
2018-11-21 22:29:21 +08:00