mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-15 19:32:44 +03:00
12 lines
321 B
Bash
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'
|
|
}
|