Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Native BSD disklabel access

At 20:50 Uhr +0100 20.1.2012, Martin Husemann wrote:
>On Fri, Jan 20, 2012 at 05:52:56PM +0100, Hauke Fath wrote:
>> The macppc kernel only gave me a generic, empty disklabel where I expected
>> my partitions. 'disklabel -r' gave me the expected list, but unlike
>> mbrlabel(8), disklabel(8) has no way of feeding a label to the kernel.
>You could use wedges and dkscan_bsdlabel(8) in this case.

<slaps forehead>

I sure have toyed with wedges enough on i386, but I assumed no wedge
support for Apple partition tables meant the wedge tools were not
applicable, either.

OTOH it is kind of nice to just be able to hook a BSD labelled disk on
mac68k, sparc and macppc.

Meaning, unless anybody protests, I'll commit the code snippet before the
pre-netbsd-6 freeze.


"It's never straight up and down"     (DEVO)

Home | Main Index | Thread Index | Old Index