diff options
author | Neil Brown <neilb@suse.de> | 2006-05-16 07:35:06 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-16 07:35:06 +0000 |
commit | f1ae21c411252787089618fc4a36bd5f06cc8917 (patch) | |
tree | cb0f7d3c0c78be1815a9fb9b7537363621a4d753 /mdadm.h | |
parent | 8131b493df02ad22c8600f4c99d97003a807e5a7 (diff) | |
download | mdadm-f1ae21c411252787089618fc4a36bd5f06cc8917.tar.gz mdadm-f1ae21c411252787089618fc4a36bd5f06cc8917.tar.xz mdadm-f1ae21c411252787089618fc4a36bd5f06cc8917.zip |
Arrange the 'auto' setting in mdadm.conf can choose default type.
So when you say auto=md or auto=part in mdadm.conf, it give a preference
for type of array, but standard name will override.
But --auto=md is more insistant.
FIXME I'm not at all happy about handling of names that already exist.
I don't think that should be removed if the device is active.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -374,7 +374,7 @@ extern int get_mdp_major(void); extern int dev_open(char *dev, int flags); extern int is_standard(char *dev, int *nump); -extern int parse_auto(char *str, char *msg); +extern int parse_auto(char *str, char *msg, int config); extern mddev_ident_t conf_get_ident(char *conffile, char *dev); extern mddev_dev_t conf_get_devs(char *conffile); extern struct createinfo *conf_get_create_info(char *conffile); |