OSDN Git Service

Check for the NVMe EUI in the base sysfs dir for the device as well
authorPeter Jones <pjones@redhat.com>
Mon, 17 Oct 2016 14:04:48 +0000 (10:04 -0400)
committerPeter Jones <pjones@redhat.com>
Mon, 17 Oct 2016 14:25:51 +0000 (10:25 -0400)
commitc950dfce4a04b66e5efde770d82540e5d737f458
tree8ec4e3b9d4860b15f9849c6b0b785d05c44b7218
parentfa7e428e7eb9c2f4a0ab95447a0a2d94050b271b
Check for the NVMe EUI in the base sysfs dir for the device as well

Kernel commit 779ff75617099f4defe14e20443b95019a4c5ae8 moves the NVMe
attributes from being under nvme0n1/device/* to just being in the
nvme0n1/ directory.  So now we get to check for both things.  Thanks,
sysfs.

This resolves github issue #65
This resolves https://github.com/rhinstaller/efibootmgr/issues/48

Signed-off-by: Peter Jones <pjones@redhat.com>
src/linux.c