alpine-overlay/kubezero/nvidia-open-gpu/create-nvidia-uvm-dev-node.sh

6 lines
159 B
Bash
Raw Normal View History

#!/bin/sh
D=$(grep nvidia-uvm /proc/devices | awk '{print $1}')
mknod -m 666 /dev/nvidia-uvm c $D 0 || true
mknod -m 666 /dev/nvidia-uvm-tools c $D 1 || true