[haiku-development] Re: Bootman

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 28 Mar 2008 21:33:04 +0100

On 2008-03-28 at 19:21:31 [+0100], Dengg David <david-d@xxxxxx> wrote:
[...]
> Will you write a GUI Michael? I was not able to find a function to get the 
> LBA
> of the available partitions. Is there one?

There's no portable method, AFAIK. Have a look at 
src/bin/makebootable/platform/bios_ia32/makebootable.cpp to see ones for 
BeOS, Linux, and FreeBSD. Haiku has a new disk device API, which provides a 
nicer interface to get the offsets of partitions.

CU, Ingo

Other related posts: