DDF: provide simple detail_super() implementation.
Just print the GUID, Seq and number of VDs in the container. Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
f70d549f12
commit
ff84d05210
14
super-ddf.c
14
super-ddf.c
|
@ -1751,12 +1751,14 @@ err:
|
||||||
|
|
||||||
static void detail_super_ddf(struct supertype *st, char *homehost)
|
static void detail_super_ddf(struct supertype *st, char *homehost)
|
||||||
{
|
{
|
||||||
/* FIXME later
|
struct ddf_super *sb = st->sb;
|
||||||
* Could print DDF GUID
|
int cnt = be16_to_cpu(sb->virt->populated_vdes);
|
||||||
* Need to find which array
|
|
||||||
* If whole, briefly list all arrays
|
printf(" Container GUID : "); print_guid(sb->anchor.guid, 1);
|
||||||
* If one, give name
|
printf("\n");
|
||||||
*/
|
printf(" Seq : %08x\n", be32_to_cpu(sb->active->seq));
|
||||||
|
printf(" Virtual Disks : %d\n", cnt);
|
||||||
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *vendors_with_variable_volume_UUID[] = {
|
static const char *vendors_with_variable_volume_UUID[] = {
|
||||||
|
|
Loading…
Reference in New Issue