On Mon, 11 Jan 2010 15:38:13 -0500 Doug Ledford <dledford@xxxxxxxxxx> wrote: > Signed-off-by: Doug Ledford <dledford@xxxxxxxxxx> Already have this functionality since commit aae5a11207cf6da1682e6a76e116a19e21473f03 13Oct 2009. Thanks, NeilBrown > --- > Detail.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/Detail.c b/Detail.c > index ba07c83..e05ba10 100644 > --- a/Detail.c > +++ b/Detail.c > @@ -203,6 +203,11 @@ int Detail(char *dev, int brief, int export, int test, char *homehost) > if (mp && mp->path && > strncmp(mp->path, "/dev/md/", 8) == 0) > printf("MD_DEVNAME=%s\n", mp->path+8); > + if (mp && (mp->uuid[0] || mp->uuid[1] || mp->uuid[2] || > + mp->uuid[3])) > + printf("MD_UUID=%08x:%08x:%08x:%08x\n", > + mp->uuid[0], mp->uuid[1], mp->uuid[2], > + mp->uuid[3]); > } > goto out; > } -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html