bcache-tools: Add support for partitions

The command line tool 'bcache' shoud display the information
properly regardless of whether the bcache device is a normal
device or a partition.

Signed-off-by: Shaoxiong Li <dahefanteng@gmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
10 files changed