From: Ruediger Meier <sweet_f_a@gmx.de>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: BUG: wipefs dry run
Date: Thu, 15 Jun 2017 16:47:06 +0200 [thread overview]
Message-ID: <201706151647.06899.sweet_f_a@gmx.de> (raw)
In-Reply-To: <20170526112120.kinsu7oi7fldx2o4@ws.net.home>
On Friday 26 May 2017, Karel Zak wrote:
> On Wed, May 10, 2017 at 01:03:10PM +0200, Ruediger Meier wrote:
> > > It would be probably possible to extend libblkid to work in some
> > > "ignore previous result" mode to to gather all permutation for
> > > the FS/RAID/etc, but it won't be trivial task...
> >
> > This would be nice.
>
> Implemented (and it was relatively easy to implement :-)
>
> Try "blkid-hide" branch from github, will be in v2.31.
> # wipefs -a --no-act /dev/sdc
Thanks, this looks good. There are still a few issues-
$ truncate -s 100M /tmp/test.img
$ echo "label: gpt" | ./sfdisk /tmp/test.img
### this hangs indefinitely
$ wipefs -t gpt /tmp/test.img
### the default list shows too many newlines
$ ./wipefs /tmp/test.img
offset type
----------------------------------------------------------------
0x1fe PMBR [partition table]
0x63ffe00 gpt [partition table]
0x200 gpt [partition table]
cu,
Rudi
next prev parent reply other threads:[~2017-06-15 14:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-10 9:54 BUG: wipefs dry run Ruediger Meier
2017-05-10 10:32 ` Karel Zak
2017-05-10 10:53 ` Karel Zak
2017-05-10 11:03 ` Ruediger Meier
2017-05-26 11:21 ` Karel Zak
2017-06-15 14:47 ` Ruediger Meier [this message]
2017-06-16 9:39 ` Karel Zak
2017-06-29 10:55 ` 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=201706151647.06899.sweet_f_a@gmx.de \
--to=sweet_f_a@gmx.de \
--cc=kzak@redhat.com \
--cc=util-linux@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 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.