From: Hubert Kario <kario@wit.edu.pl>
To: linux-btrfs@vger.kernel.org
Cc: Hubert Kario <kario@wit.edu.pl>
Subject: [PATCH v2 0/5] Allow for quick removing of btrfs signature from block device
Date: Tue, 1 May 2012 14:38:01 +0200 [thread overview]
Message-ID: <1335875886-12087-1-git-send-email-kario@wit.edu.pl> (raw)
If there is a btrfs created on a raw block device (raw disk) and later there
are created partitions and btrfs file systems created on partitions, subsequent
`btrfs device scan` won't remove the btrfs signature from the raw block device.
This patch series adds `btrfs device zero super <dev>` command to remove the
btrfs signature from the device as well as fix few minor problems in
btrfs_prepare_device function.
This obsoletes my previous patch "btrfs: add command to zero out superblock".
V1->V2 changes: better error reporting when there are problems with only one
of the devices passed as parameters.
Hubert Kario (5):
btrfs: add command to zero out superblock
handle null pointers in btrfs_prepare_device
Remove unused option in btrfs_prepare_device
better error handling in btrfs_prepare_device()
btrfs: remove unused variables
btrfs-vol.c | 2 +-
cmds-device.c | 45 ++++++++++++++++++++++++++++++++++++++++++++-
man/btrfs.8.in | 7 +++++++
mkfs.c | 12 ++++++------
utils.c | 41 ++++++++++++++++++++++++-----------------
utils.h | 4 ++--
6 files changed, 84 insertions(+), 27 deletions(-)
--
1.7.10
next reply other threads:[~2012-05-01 12:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-01 12:38 Hubert Kario [this message]
2012-05-01 12:43 ` [PATCH v2 0/5] Allow for quick removing of btrfs signature from block device Tomasz Torcz
2012-05-01 13:37 ` Hubert Kario
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=1335875886-12087-1-git-send-email-kario@wit.edu.pl \
--to=kario@wit.edu.pl \
--cc=linux-btrfs@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).