struct gendisk max_p gone in 2.5.x

Matt_Domsch@Dell.com
Mon, 14 Jan 2002 12:49:51 -0600


The max_p member of struct gendisk was deleted in 2.5.x. Is there a
different preferred method for partition detection code to know the maximum
number of partitions it's allowed to present? Previously I was using this
field in the GPT detection code to only present the first max_p partitions
(because GPT allows an unlimited number of partitions). For SCSI disks with
the current major/minor numbering scheme, it shouldn't create more than 15
partitions; for IDE, 63.

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer
Dell Linux Solutions www.dell.com/linux
#1 US Linux Server provider with 24.5% (IDC Dec 2001)
#2 Worldwide Linux Server provider with 18.2% (IDC Dec 2001)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/