[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.
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
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
"It's never straight up and down" (DEVO)
Main Index |
Thread Index |