boot0cfg -s vs. GEOM_PART_*?

Marcel Moolenaar xcllnt at mac.com
Tue Feb 17 13:16:14 PST 2009


On Feb 17, 2009, at 12:27 PM, Poul-Henning Kamp wrote:

> In message <F04BCAF6-2478-4724-A7E6-94BD43BE77DB at mac.com>, Marcel  
> Moolenaar wri
> tes:
>
>>> We do not want arbitrary large binary blobs in the confxml
>>> output.
>>
>> I'm not going to start a discussion on arbitrariness
>> and largeness of bootcode. Instead, let me just ask:
>>
>> Do you have alternatives?
>
> Open the parent device, use read(2) to get it.
>
> You can always open an geom device for reading (subject
> to filesystem permissions).

For boot0cfg this is probably acceptable, because
it only operates on MBRs. But as a generic solution
this won't work.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-current mailing list