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



-- 
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