From: Neil Brown Date: Wed, 17 Oct 2007 00:00:55 +0000 (+1000) Subject: Make sure --auto=mdp is honoured properly X-Git-Tag: mdadm-2.6.4~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc2ee6b3e3330d8f8d7af11ae78b6f0e5e2e9d69;p=thirdparty%2Fmdadm.git Make sure --auto=mdp is honoured properly This would only create partitioned devices if the device name was a 'standard' name. This this patch, any name will work. --- diff --git a/mdopen.c b/mdopen.c index 362d4d8b..ebaba950 100644 --- a/mdopen.c +++ b/mdopen.c @@ -161,6 +161,7 @@ int open_mddev(char *dev, int autof) "not compatable with device named %s\n", dev); return -1; } + major_num = get_mdp_major(); break; case 5: /* default to md if not standard */ break;