X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=etc%2Fudev%2Fudev.rules;h=68c0c63c89f1c8dc65715776c7378808e355221d;hp=c2b50eb90d4f4af11b8e51e70996232f612b39cd;hb=40041ff4f1153360409ae88f0c0168ad2ee4d224;hpb=f1db055ab2e349ce22254562faaece66d6a4a873 diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index c2b50eb90..68c0c63c8 100644 --- a/etc/udev/udev.rules +++ b/etc/udev/udev.rules @@ -51,3 +51,7 @@ CALLOUT, BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", ID="cdrom", NAME="%k" # device mapper creates its own device nodes IGNORE, KERNEL="dm-[0-9]*" + +# DRI devices always go into a subdirectory (as per the LSB spec) +REPLACE, KERNEL="card*", NAME="dri/card%n" +