Subject: Re: Formatting a drive
To: Bill Studenmund <wrstuden@zembu.com>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 02/22/2001 22:45:57
On Thu, 22 Feb 2001, Bill Studenmund wrote:
> On Thu, 22 Feb 2001, Henry B. Hotz wrote:
>
> > Actually I was thinking more of the case where the drive was
> > completely blank: no APM at all. In that case though the disklabel
> > code would probably have a fit and you wouldn't be able to see a 'c'
> > partition in the first place I'm guessing.
>
> Ahh. There's code to take care of this case. Each disk driver (sd, wd, cd,
> ccd, vnd, etc.) has a XXgetdefaultlabel routine which will make a default
> label. For drives where we can detect the size (scsi, ata, for instance),
> this routine will fill in a struct disklabel with a whole-disk partition
> that takes up the whole disk. For ports other than i386 & other
> MBR-derived ones, that's partition c.
>
> So there will always be a c partition. :-)
I was thinking there should be an "a" partition, too, like there is for
CD-ROMS, but there isn't, and evidently it's not needed.
Frederick