[Pkg-utopia-maintainers] Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: devicekit-disks - Handles add actions of dm devices

Bastian Blank waldi at debian.org
Fri Oct 16 21:55:55 UTC 2009


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.





More information about the Pkg-utopia-maintainers mailing list