[systemd-devel] [PATCH v2] udev rules: add by-location symlinks to nvme devices

2017-11-28 Thread Charles.Rose
On systems with multiple 2.5-inch form factor PCIe SSD devices, locating the physical drive can be made easier with symlinks that contain the drive bay and slot information like this: /dev/disk/by-path/PCIe_SSD_in_Slot_9_Bay_1-nvme0n1 -> ../../nvme0n1

[systemd-devel] [PATCH] udev rules: add by-location symlinks to nvme devices

2017-11-03 Thread Charles.Rose
On systems with multiple 2.5-inch form factor PCIe SSD devices, locating the physical drive can be made easier with symlinks in /dev/disk/by-location. This rule reads the bay and slot information for each nvme device and creates symlinks like this: