From dc2ee6b3e3330d8f8d7af11ae78b6f0e5e2e9d69 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 17 Oct 2007 10:00:55 +1000 Subject: 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. --- mdopen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mdopen.c b/mdopen.c index 362d4d8..ebaba95 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; -- cgit