[Pkg-utopia-maintainers] 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 06:33:36 UTC 2009
On Fri, Oct 16, 2009 at 04:37:53AM +0200, Michael Biebl wrote:
> + (g_str_has_prefix (dm_uuid, "CRYPT-LUKS1") ||
"CRYPT-LUKS1-", maybe there will be a CRYPT-LUKS10 someday.
> + g_regex_match_simple ("^CRYPT-[a-f0-9-]+$", dm_uuid, 0, 0)) &&
"^CRYPT-[0-9a-f]", no need to have an anchor at the end.
> - if (g_str_has_prefix (dkd_dm_name, "temporary-cryptsetup-")) {
> + /* Debian already hides temporary cryptsetup devices, so this check could probably be removed? */
> + if (g_str_has_prefix (dm_name, "temporary-cryptsetup-")) {
This check can go. This temporary devices either have no uuid
(cryptsetup < 1.1) or start with CRYPT-TEMP- (cryptsetup >= 1.1).
Bastian
--
Sometimes a feeling is all we humans have to go on.
-- Kirk, "A Taste of Armageddon", stardate 3193.9
More information about the Pkg-utopia-maintainers
mailing list