Udev: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
==[[KVM]]== | ==[[KVM]]== | ||
On [[Debian]] (unstable, 2009-06-20), the default | On [[Debian]] (unstable, 2009-06-20), the default kvm/udev setup results in <tt>/dev/kvm</tt> have mode 0666 and ownership <tt>root:root</tt>, despite the creation of a <tt>kvm</tt> group. To have this file instead created with <tt>root:kvm</tt> ownership, add <tt>/etc/udev/rules.d/50-kvm.rules</tt> with the contents:<pre>KERNEL=="kvm", NAME="%k", GROUP="kvm", MODE="0660"</pre>I got this information from [https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/127704 Ubuntu bug 127704], and have reported it to [http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493053 Debian bug 493053]. | ||
==CDROMs== | |||
On [[Debian]] unstable, <tt>/etc/udev/rules.d/70-persistent-cd.rules</tt> maps ATA/SAS/SCSI bus IDs to symlinks. Moving a CD/DVD/BR drive will thus create a new symlink group (/dev/dvd1, /dev/cdrw1, etc). | |||
==Monitoring udev events== | |||
<tt>udevadm monitor --environment kernel</tt> | |||