All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Bächler" <thomas@archlinux.org>
To: dm-crypt@saout.de
Subject: [dm-crypt] [Request] cryptsetup option to fix leftovers from old filesystems
Date: Sun, 30 Aug 2009 18:20:42 +0200	[thread overview]
Message-ID: <4A9AA6DA.6000406@archlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

We have encountered a problem with blkid that is caused by cryptsetup 
not cleaning superblocks of old filesystems on luksFormat. The problem 
has been fixed in 1.0.7, however old LUKS volumes still suffer from this 
problem. Please read this thread for details:

http://thread.gmane.org/gmane.linux.utilities.util-linux-ng/2563

What I would request is an option to "clean" the unused area in the LUKS 
header up to the start of the payload, such that for example an old ext2 
magic is removed. All that without destroying the used areas in the LUKS 
header, of course.

I'm not very familiar with the LUKS code or on-disk format, so I would 
be greatful if anyone who is would implement such a feature. Thanks for 
your replies.

Thomas


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

             reply	other threads:[~2009-08-30 16:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-30 16:20 Thomas Bächler [this message]
2009-08-31 19:13 ` [dm-crypt] [Request] cryptsetup option to fix leftovers from old filesystems Milan Broz
2009-08-31 21:33   ` Karel Zak

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=4A9AA6DA.6000406@archlinux.org \
    --to=thomas@archlinux.org \
    --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.