diff options
author | NeilBrown <neilb@suse.de> | 2008-09-18 16:11:40 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-09-18 16:11:40 +1000 |
commit | ff54de6e47163944185f231700e72d3122b58f4c (patch) | |
tree | 6d9f2763f38f976811adc9c66d44d1fbe7df03b9 /Incremental.c | |
parent | d7288ddc3a06a0912f5f0a3f23ccca76a66ff332 (diff) | |
download | mdadm-ff54de6e47163944185f231700e72d3122b58f4c.tar.gz |
Report uuid in --detail --brief for ddf and intel
The uuid is slightly fictitious but needed for array matching.
Diffstat (limited to 'Incremental.c')
-rw-r--r-- | Incremental.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Incremental.c b/Incremental.c index 869ae83..6474e79 100644 --- a/Incremental.c +++ b/Incremental.c @@ -233,7 +233,7 @@ int Incremental(char *devname, int verbose, int runstop, mp = map_by_uuid(&map, info.uuid); if (uuid_for_name && ! mp) { - name_to_use = fname_from_uuid(st, &info, nbuf); + name_to_use = fname_from_uuid(st, &info, nbuf, '-'); if (verbose >= 0) fprintf(stderr, Name ": not found in mdadm.conf and not identified by homehost" @@ -804,7 +804,7 @@ int Incremental_container(struct supertype *st, char *devname, int verbose, ! *name_to_use || (*devname != '/' || strncmp("UUID-", strrchr(devname,'/')+1,5) == 0) ) - name_to_use = fname_from_uuid(st, ra, nbuf); + name_to_use = fname_from_uuid(st, ra, nbuf, '-'); if (mp) devnum = mp->devnum; |