On Fri, Oct 16, 2009 at 11:43:52PM +0200, Bastian Blank wrote:
> On Fri, Oct 16, 2009 at 10:45:25PM +0200, Michael Biebl wrote:
> > I adressed the issues you mentioned [1] and just uploaded 007-3 to unstable.
> Okay. What about point 1 of my list? This still probes device-mapper
> devices.

This patch should use an apropriate whitelist.

--- a/data/95-devkit-disks.rules
+++ b/data/95-devkit-disks.rules
@@ -12,7 +12,7 @@
 #
 
 # skip rules for inappropriate block devices
-KERNEL=="fd*|mtd*|nbd*|gnbd*|btibm*", GOTO="probe_parttable_end"
+KERNEL!="hd*|sd*|sr*|cciss*|dasd*", GOTO="probe_parttable_end"
 
 # never access non-cdrom removable ide devices, the drivers are causing event 
loops on open()
 KERNEL=="hd*[!0-9]", ATTR{removable}=="1", SUBSYSTEMS=="ide", 
ATTRS{media}=="disk|floppy", GOTO="probe_parttable_end"

Bastian

-- 
Is truth not truth for all?
                -- Natira, "For the World is Hollow and I have Touched
                   the Sky", stardate 5476.4.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to