Re: [PATCH] bsd disklabel detection

From: Andries.Brouwer@cwi.nl
Date: Thu Mar 23 2000 - 12:36:44 EST


> The second patch, which is a superset of the first patch, is a bit more
> involved.. Basically, BSD's can install their own disklabel and completely
> trash the MBR and the normal dos partition table.

This part should not be in msdos.c.
The current setup of fs/partitions is that check.c has a list
of possible partition table types tried at the outer level
(acorn, msdos, osf, sun, amiga, atari, mac, sgi, ultrix).

So, if you want to detect BSDI at the outer level, you should not
interrupt the msdos code, but add a new item to the list in check.c.
Such a new bsd.c would be very similar to osf.c. If it is not
the same, add it.

But the osf.c stuff looks so similar to the bsd stuff, even the magic
numbers are the same, that I conjecture that you already have what you want,
no patch needed, just enable CONFIG_OSF_PARTITION.

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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:38 EST