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.
This commit is contained in:
Neil Brown 2007-10-17 10:00:55 +10:00
parent 6e9eac4f08
commit dc2ee6b3e3
1 changed files with 1 additions and 0 deletions

View File

@ -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;