[parisc-linux] Dump: need disk layout function.

Matthew Wilcox willy@debian.org
Tue, 26 Mar 2002 07:21:41 +0000


On Tue, Mar 26, 2002 at 08:09:40AM +0100, Bruno Vidal wrote:
> I'm looking for function that manage disk layout. In fact I'm looking
> for functions that are able to return start block and end block of
> a partition. Do you know if it exists (I'm sure that it exists), and where it is ?
> By the way, I'm looking for a function (or structure) that return the HPA 
> and the SPA of a disk (but for this I find nothing, except for the boot 
> disk in page0).

Tried fs/partitions/msdos.c?

How can a disc have HPA and SPA?  Are you trying to find the HPA/SPA of
the disc's controller?

-- 
Revolutions do not require corporate support.