Go to file
Gabriel b15fb776c9 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.
2013-09-01 12:38:11 +02:00
initramfs Register devices with just udev. 2013-04-11 17:08:23 -07:00
.gitignore Add a command to display a bcache superblock. 2013-03-09 14:33:08 +01:00
61-bcache.rules Don't register if a non-bcache superblock is found as well 2013-07-21 18:59:18 -07:00
bcache-register Use register_quiet for udev hook 2013-08-26 14:46:19 -07:00
bcache-super-show.8 super-show: Minor manpage clarification 2013-06-07 14:51:55 +02:00
bcache-super-show.c bcache-tools are GPL 2013-07-17 13:13:31 -07:00
bcache-test.c bcache-tools are GPL 2013-07-17 13:13:31 -07:00
bcache.c Fix more warnings during 32bit compilation 2011-11-21 14:58:53 -08:00
bcache.h bcache-tools are GPL 2013-07-17 13:13:31 -07:00
COPYING bcache-tools are GPL 2013-07-17 13:13:31 -07:00
make-bcache.8 Stuff 2011-02-13 07:01:10 -08:00
make-bcache.c make-bcache: Prevent stray superblocks 2013-09-01 12:38:11 +02:00
Makefile make-bcache: Prevent stray superblocks 2013-09-01 12:38:11 +02:00
probe-bcache.8 bcache-tools: probe-bcache.8 man page 2012-02-16 09:14:41 -08:00
probe-bcache.c make-bcache: Prevent stray superblocks 2013-09-01 12:38:11 +02:00
README Add a command to display a bcache superblock. 2013-03-09 14:33:08 +01:00

These are the userspace tools required for bcache.

Bcache is a patch for the Linux kernel to use SSDs to cache other block
devices. For more information, see http://bcache.evilpiepirate.org.
Documentation for the run time interface is included in the kernel tree, in
Documentantion/bcache.txt.

Included tools:

make-bcache
Formats a block device for use with bcache. A device can be formatted for use
as a cache or as a backing device (requires yet to be implemented kernel
support). The most important option is for specifying the bucket size.
Allocation is done in terms of buckets, and cache hits are counted per bucket;
thus a smaller bucket size will give better cache utilization, but poorer write
performance. The bucket size is intended to be equal to the size of your SSD's
erase blocks, which seems to be 128k-512k for most SSDs; feel free to
experiment.

probe-bcache
Only necessary until support for the bcache superblock is included
in blkid; in the meantime, provides just enough functionality for a udev script
to create the /dev/disk/by-uuid symlink. The arguments it does support are the
same as for blkid.

bcache-super-show
Prints the bcache superblock of a cache device or a backing device.