DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] wrong partition type with blkid command ?
@ 2010-09-06 12:33 Aaron Lewis
  2010-09-06 12:48 ` Arno Wagner
  2010-09-06 12:57 ` Milan Broz
  0 siblings, 2 replies; 5+ messages in thread
From: Aaron Lewis @ 2010-09-06 12:33 UTC (permalink / raw)
  To: dm-crypt

[-- Attachment #1: Type: Text/Plain, Size: 611 bytes --]

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

I should not modify partition directly , should be some tools could help , 
anyone know ?

Many thanks !

-- 
Best Regards,
Aaron Lewis - PGP: 0x4A6D32A0
FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0
irc: A4R0NL3WI5 on freenode

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-06 13:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2010-09-06 13:08   ` [dm-crypt] [SOLVE] " Aaron Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox