That is not the current method.
Look at the part
#ifdef CONFIG_BSD_DISKLABEL
/* tag first disklabel for late recognition */
if (SYS_IND(p) == BSD_PARTITION || SYS_IND(p) == NETBSD_PARTITI\
ON) {
printk("!");
if (!bsd_kdev)
bsd_kdev = MKDEV(hd->major, minor);
} else if (SYS_IND(p) == OPENBSD_PARTITION) {
printk("!");
if (!bsd_kdev) {
bsd_kdev = MKDEV(hd->major, minor);
bsd_maxpart = OPENBSD_MAXPARTITIONS;
}
}
#endif
...
#ifdef CONFIG_BSD_DISKLABEL
if (bsd_kdev) {
printk(" <");
bsd_disklabel_partition(hd, bsd_kdev, bsd_maxpart);
printk(" >");
}
#endif
to see that *BSD partitions are handled right.
Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/