Paul Clements wrote: > to use dev_unit() (which basically masks out the minor number from a > kdev_t, leaving the major number). ...that's not exactly what I meant to say... :) The minor_shift determines which portion of the device number represents the "partition" and which portion represents the "disk". The division is not necessarily along the major/minor line. -- Paul - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html