1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 19:32:44 +03:00
Jake Buchholz Göktürk fb2d658d93 Move cloud libs deeper.
2023-04-30 14:55:51 -07:00

12 lines
321 B
Bash

# AWS mdev Hotplug Modules
# vim:set ts=4 et ft=sh:
# makes symlinks for NVMe devices that correlate to AWS EBS sd/xvd devices
mod__nvme_ebs_links() {
# nvme-cli not installed?
[ -x /usr/sbin/nvme ] || return 1
install_before '^nvme\.\*' \
'nvme[0-9]+n.* root:disk 0660 */lib/mdev/nvme-ebs-links'
}