diff options
author | NeilBrown <neilb@suse.de> | 2008-11-04 20:50:38 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-11-04 20:50:38 +1100 |
commit | 1771a6e214755311530a7099374df53d84e06a82 (patch) | |
tree | f33736a4858dd4641521cf87d90e4f681fca6400 /mdadm.h | |
parent | fe056d1fb0b1d08c614f574cceaa640abc382544 (diff) | |
download | mdadm-1771a6e214755311530a7099374df53d84e06a82.tar.gz mdadm-1771a6e214755311530a7099374df53d84e06a82.tar.xz mdadm-1771a6e214755311530a7099374df53d84e06a82.zip |
config: Support container=uuid as alternative to container=/dev/name in mdadm.conf
When mdadm.conf is automatically generated, we might not know a
suitable /dev/name. But we do know the uuid of the container.
So allow that as an option.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -259,8 +259,9 @@ typedef struct mddev_ident_s { char *bitmap_file; int bitmap_fd; - char *container; /* /dev/whatever name of container. You - * would expect this to be the 'devname' + char *container; /* /dev/whatever name of container, or + * uuid of container. You would expect + * this to be the 'devname' or UUID * of some other entry. */ char *member; /* subarray within a container */ |