aboutsummaryrefslogtreecommitdiffstats
path: root/.hgignore
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2010-09-21 15:59:01 +0100
committerJan Beulich <jbeulich@novell.com>2010-09-21 15:59:01 +0100
commit95e155c6ecda017e44dbccb942e071dae65a34da (patch)
tree2ccb7d635c58ba48babf707b2f77f1baf7123a0c /.hgignore
parent39ae85c6eef75a8f5edeeb3cb2a86da5a93a32bc (diff)
downloadxen-95e155c6ecda017e44dbccb942e071dae65a34da.tar.gz
xen-95e155c6ecda017e44dbccb942e071dae65a34da.tar.bz2
xen-95e155c6ecda017e44dbccb942e071dae65a34da.zip
tools/hotplug: Linux udev rules adjustment
While earlier this year some work was done to eliminate libxc's creation of nodes under /dev (as in some cases it actually got things wrong), I just found that tapdisk2 does exactly the same. While I'm not currently aiming at removing this code, I want to at least suggest some adjustments to the provided rules file. First of all, the present rule KERNEL=="blktap[0-9]*", NAME="xen/%k" matches both blktap1's devices and blktap2's ring devices, resulting in whoever comes last replacing what was there before (e.g. a tap2:aio: attach will replace bltap1's /dev/blktap0 [i.e. the main control device] with the ring device of the new virtual disk). Therefore we should add a subsystem qualifier there. Second, at some udev versions default to using 0660 as the permissions on nodes it creates. The kernel (with devtmpfs) defaults to 0600, and hence I'd suggest to also make this explicit in the rules. Signed-off-by: Jan Beulich <jbeulich@novell.com> Cc: Boris Derzhavets <bderzhavets@yahoo.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to '.hgignore')
0 files changed, 0 insertions, 0 deletions