All of lore.kernel.org
 help / color / mirror / Atom feed
* [Please pull] make-bcache: prevent stray superblocks
@ 2013-09-01 10:44 Gabriel de Perthuis
  0 siblings, 0 replies; only message in thread
From: Gabriel de Perthuis @ 2013-09-01 10:44 UTC (permalink / raw)
  To: Kent Overstreet; +Cc: bcache

Hello,
Here is a patch updating make-bcache to disallow stray superblocks,
so that it matches the stricter udev check.

- https://github.com/g2p/bcache-tools/commits
- https://github.com/g2p/bcache-tools/commit/master

From the commit message:
Fail if the device has any leftover superblock or partition table label.

Add a --wipe-bcache flag to overwrite bcache superblocks and recommend
wipefs for non-bcache superblocks.

Once the device is safe to write, always zero immediately before the
bcache superblock.

Make sure errors go to stderr.  Use pkg-config.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-09-01 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-01 10:44 [Please pull] make-bcache: prevent stray superblocks Gabriel de Perthuis

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.