Subject: Native disklabels, was: Partitioning&formatting...
To: Frederick Bruckman <fb@enteract.com>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-mac68k
Date: 08/25/1999 19:37:03
At 18:24 Uhr +0200 24.08.1999, Frederick Bruckman wrote:
>"disklabel -r" evidently {reads,writes} a proper *BSD disklabel to
>block 0 of the raw partition, where it can be read using the raw
>device. No mac68k kernel code uses it, though! If you change the
>Apple-style partition table using a program that groks same, that will
>show up immediately on "disklabel", no "-r", and this one counts. Very
>different from i386 and other ports that have in-kernel disklabels!

ISTR that the kernel's disklabel write routines are #ifdef'd out. Once upon
a long ago when I started work on the iwm driver, I had patches that
enabled reading and writing BSD disklabels on mac68k. I even submitted them
to Scott but they either were not approved or got lost in his mailbox, who
knows.

Anyway: What is the general opinion on enabling native disklabels for
mac68k? We could always step back from writing if we found a  magic number
indicating a MacOS partition table.

	hauke


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