udev/path_id: introduce support for NVMe devices (#4169)
authorKeith Busch <keith.busch@intel.com>
Mon, 26 Sep 2016 19:01:07 +0000 (13:01 -0600)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 26 Sep 2016 19:01:07 +0000 (21:01 +0200)
commitb4c6f71b827d41a4af8007b735edf21ef7609f99
treeed45fb5ba6bc3c39e781811904f8af939b85af45
parent00bb64ecfa87c3da13764578e0e65e9b4e72bbf8
udev/path_id: introduce support for NVMe devices (#4169)

This appends the nvme name and namespace identifier attribute the the
PCI path for by-path links. Symlinks like the following are now present:

lrwxrwxrwx. 1 root root 13 Sep 16 12:12 pci-0000:01:00.0-nvme-1 -> ../../nvme0n1
lrwxrwxrwx. 1 root root 15 Sep 16 12:12 pci-0000:01:00.0-nvme-1-part1 -> ../../nvme0n1p1

Cc: Michal Sekletar <sekletar.m@gmail.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
src/udev/udev-builtin-path_id.c