From: Milan Broz <mbroz@redhat.com>
To: Aaron Lewis <aaron.lewis1989@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] wrong partition type with blkid command ?
Date: Mon, 06 Sep 2010 14:57:23 +0200 [thread overview]
Message-ID: <4C84E533.6020209@redhat.com> (raw)
In-Reply-To: <201009062034.05071.aaron.lewis1989@gmail.com>
On 09/06/2010 02:33 PM, Aaron Lewis wrote:
> blkid told me the type of an encrypted partition is "ext4" , while
> cryptsetup works fine.
>
> * blkid /dev/sda8
> /dev/sda8: LABEL="ROOT" UUID="92d7eb3f-617d-4d63-8d1c-86b99ddeb5e4"
> TYPE="ext4"
>
> ( TYPE should be crypto_LUKS )
>
> I've went through util-linux's source code , all magic code are defined here:
> shlibs/blkid/src/superblocks/luks.c
IF it is LUKS and not plain crypto - "blkid -u crypto -p /dev/sda8" prints LUKS?
If so, that's probably old bug - both signarures are present (cryptsetup did not wipe part of signature)
read http://code.google.com/p/cryptsetup/wiki/FrequentlyAskedQuestions#3._Common_Problems
"blkid" sees a LUKS UUID and an ext2/swap UUID on the same device. What is wrong?"
Milan
next prev parent reply other threads:[~2010-09-06 12:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-06 12:33 [dm-crypt] wrong partition type with blkid command ? Aaron Lewis
2010-09-06 12:48 ` Arno Wagner
2010-09-06 12:57 ` Aaron Lewis
2010-09-06 12:57 ` Milan Broz [this message]
2010-09-06 13:08 ` [dm-crypt] [SOLVE] " Aaron Lewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C84E533.6020209@redhat.com \
--to=mbroz@redhat.com \
--cc=aaron.lewis1989@gmail.com \
--cc=dm-crypt@saout.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.