Re: Sysinstall is still inadequate after all of these years

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Wed, 09 Jul 2008 22:20:23 -0700
On Jul 9, 2008, at 10:19 PM, Mike Makonnen wrote:

>> Yes, libdisk is bad. GEOM_PART has been designed
>> for use by installers. It can be interfaced
>> faily easily. See gpart(8) for example.
>
> Is there documentation for the geom_part API somewhere (I couldn't  
> find any)
> or do I have to look at gpart(8) to figure out how to use it?

I haven't written any documentation yet, so gpart(8) is
probably the best place to start.

> Is it ok to
> just use gpart(8) instead of using the geom_part API?

Using gpart(8) works just fine, except that you don't
have access to all the information that's in the XML.
Things like geometry come to mind.

But of course, you can always read the XML, use gpart(8)
to make a change and read the XML again. Having that,
it's only a tiny step to use the gctl interface directly.

FYI,

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Thu Jul 10 2008 - 15:08:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC