Re: One more question about the linux md driver
From: Paul Clements <hidden>
Date: 2003-04-10 16:28:19
From: Paul Clements <hidden>
Date: 2003-04-10 16:28:19
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