So if the device name is /dev/md/d0, then the number of
partitions is as given. This is useful in 'CREATE' in
mdadm.conf
- Fix some endian-ness issues with version-1 superblocks (affects
bigendian only).
- Fix endian problem with 'bitmap' metadata
+ - Allow a number (of partitions) after the 'yes' option to --auto=
+ This is particularly useful in the 'create' line in mdadm.conf.
Changes Prior to 2.5.3 release
- Document v0.91 superblocks in md.4
len = e - str;
if ((len == 2 && strncasecmp(str,"md",2)==0)) {
autof = config ? 5 : 3;
+ } else if ((len == 3 && strncasecmp(str,"yes",3)==0)) {
+ autof = 2;
} else if ((len == 3 && strncasecmp(str,"mdp",3)==0)) {
autof = config ? 6 : 4;
} else if ((len == 1 && strncasecmp(str,"p",1)==0) ||