Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
installer: Handle NVMe symlink aliases.
udev may create a symlink alias to the block device in /dev for some NVMe drives. get_devnode_{disk,partition} assumes they are passed the block device path, but some utility tools (e.g, lvm-utils) can return the symlink alias instead. Add a sanitizing function to handle that. Signed-off-by: Eric Chanudet <[email protected]> OXT-1654 (cherry picked from commit 558b76d) Signed-off-by: Eric Chanudet <[email protected]>
- Loading branch information