summaryrefslogtreecommitdiff
path: root/bcache-register
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-08-17 18:56:50 +0200
committerGabriel <g2p.code@gmail.com>2013-09-01 12:38:11 +0200
commitb15fb776c99fcab56fbbe295629749d307e2018d (patch)
tree191b6b6abb5a8de6ca53c45d4c44d6f7177c91c3 /bcache-register
parent8327108eeaf3e0491b17d803da164c0827aae622 (diff)
make-bcache: Prevent stray superblocks
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.
Diffstat (limited to 'bcache-register')
0 files changed, 0 insertions, 0 deletions