From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: [PATCH 0/4] pvcreate & detection of foreign signatures
Date: Thu, 12 Aug 2010 16:07:55 +0200 [thread overview]
Message-ID: <cover.1281621747.git.mbroz@redhat.com> (raw)
After the third report of broken LUKS after pvcreate (just this week...)
I added LUKS detection to lvm. But the current code is messy and in fact
it wipes superblocks without asking by default.
This is attempt to change that to something more user friendly.
Milan Broz (4):
Change the pvcreate swap/md logic
Remove assumption that --ye must be used only in --force mode
Fix file open leak in swap signature detection
Detect LUKS signature in pvcreate
lib/Makefile.in | 1 +
lib/device/dev-luks.c | 43 ++++++++++++++++++++++++++++
lib/device/dev-swap.c | 12 +++----
lib/device/device.h | 1 +
lib/metadata/metadata.c | 71 +++++++++++++++++++++++++----------------------
tools/pvremove.c | 5 ---
tools/toollib.c | 5 ---
7 files changed, 88 insertions(+), 50 deletions(-)
create mode 100644 lib/device/dev-luks.c
next reply other threads:[~2010-08-12 14:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 14:07 Milan Broz [this message]
2010-08-12 14:07 ` [PATCH 1/4] Change the pvcreate swap/md logic Milan Broz
2010-08-12 14:07 ` [PATCH 2/4] Remove assumption that --ye must be used only in --force mode Milan Broz
2010-08-12 14:07 ` [PATCH 3/4] Fix file open leak in swap signature detection Milan Broz
2010-08-12 14:07 ` [PATCH 4/4] Detect LUKS signature in pvcreate Milan Broz
2010-08-13 10:46 ` [PATCH 0/4] pvcreate & detection of foreign signatures Petr Rockai
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=cover.1281621747.git.mbroz@redhat.com \
--to=mbroz@redhat.com \
--cc=lvm-devel@redhat.com \
/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.