summaryrefslogtreecommitdiffstats
path: root/x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-02 00:21:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-02 00:21:11 +0200
commitfdd6b67a78a966f6a2131de8fe0e539316511083 (patch)
tree7dd65d3814c4733b311985dbeb00b879ddd0df05 /x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule
parent6109bebd80c2873d9a5763436902b17a0d68d21c (diff)
downloaddarklin4-fdd6b67a78a966f6a2131de8fe0e539316511083.tar.gz
darklin4-fdd6b67a78a966f6a2131de8fe0e539316511083.tar.bz2
darklin4-fdd6b67a78a966f6a2131de8fe0e539316511083.tar.xz
darklin4-fdd6b67a78a966f6a2131de8fe0e539316511083.zip
Taglib and NVIDA
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule')
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule1
1 files changed, 1 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule b/x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule
new file mode 100644
index 0000000..3df8a3a
--- /dev/null
+++ b/x11-drivers/nvidia-drivers/files/nvidia-uvm.udev-rule
@@ -0,0 +1 @@
+KERNEL=="nvidia_uvm", RUN+="/bin/bash -c '/bin/mknod -m 660 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0; /bin/chgrp video /dev/nvidia-uvm'"