From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 6 Sep 2010 14:34:20 +0200 (CEST) Received: by pwi4 with SMTP id 4so1344358pwi.37 for ; Mon, 06 Sep 2010 05:34:18 -0700 (PDT) From: Aaron Lewis Date: Mon, 6 Sep 2010 20:33:58 +0800 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2539086.LUOGqOhgO4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201009062034.05071.aaron.lewis1989@gmail.com> Subject: [dm-crypt] wrong partition type with blkid command ? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de --nextPart2539086.LUOGqOhgO4 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, blkid told me the type of an encrypted partition is "ext4" , while=20 cryptsetup works fine. * blkid /dev/sda8 /dev/sda8: LABEL=3D"ROOT" UUID=3D"92d7eb3f-617d-4d63-8d1c-86b99ddeb5e4"=20 TYPE=3D"ext4" ( TYPE should be crypto_LUKS ) I've went through util-linux's source code , all magic code are defined her= e: shlibs/blkid/src/superblocks/luks.c I should not modify partition directly , should be some tools could help ,= =20 anyone know ? Many thanks ! =2D-=20 Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 =46ingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4R0NL3WI5 on freenode --nextPart2539086.LUOGqOhgO4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEABECAAYFAkyE370ACgkQvf41sEptMqBdBACgrv7B1XlD1qbJCEJO5b+hGakg Ic0Ani/fNKWYCMi0zzrh5kTFDGyA1WyQ =0FF+ -----END PGP SIGNATURE----- --nextPart2539086.LUOGqOhgO4--