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

Michael Biebl biebl at debian.org
Thu Oct 15 12:44:23 UTC 2009


Bastian Blank wrote:
> On Tue, Oct 13, 2009 at 05:45:27PM +0200, Michael Biebl wrote:
>> What we can not remove currently, is the call to devkit-disks-dm-export,
>> as it makes additional information available like (DKM_)DM_TARGET_TYPES,
>> which is used inside the dk-disks code.
> 
> Please explain which highlevel information you need.
> 
> DM_TARGET_TYPES is only used to find the string "crypt" in it and I
> already explained several times that DM_UUID==CRYPT-* is a quite better
> indicator, completely functional in the near future with cryptsetup 1.1.

Finally some useful information, thanks.

Attached is a patch which makes use of DM_UUID making it possible to completely
remove devkit-disks-dm-export, and it seems to work nicely.

Is the DM_UUID=CRYPT-* naming scheme documented somewhere? I'd like to send this
patch upstream and would need to know if it is a Debian specific feature.
If not, since what version of cryptsetup/dmsetup is this naming interface stable?


Thanks,
Michael

P.S: I have to retract my statement wrt to mdadm. I double checked the Debian
mdadm udev rules files, and it uses the upstream udev rules file that calls
"mdadm --detail", whereas the dk-disks udev rule calls "mdadm --examine". The
former seems to operate on the actual md device only, the latter on the
underlying physical device.
So I don't think it's safe to remove the mdadm section from
95-devkit-disks.rules just yet without further investigation.
I CCed the mdadm maintainers for their input. Maybe we could enable that "mdadm
--examine" in mdadm itself?

Anyways, this should probably be handled in a separate bug report as this one is
about dm devices. I just mentioned it, as you brought up the mdadm issue.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Stop-probing-device-mapper-devices.patch
Type: text/x-diff
Size: 4154 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091015/3c27af23/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20091015/3c27af23/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list