Source-Changes-D archive

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

Re: CVS commit: src



On 3 July 2012 07:41, David Laight <david%l8s.co.uk@localhost> wrote:
> On Mon, Jul 02, 2012 at 10:42:18PM +0000, David Brownlee wrote:
>> Module Name:  src
>> Committed By: abs
>> Date:         Mon Jul  2 22:42:18 UTC 2012
>>
>> Modified Files:
>>       src/distrib/vax/miniroot: Makefile.inc
>>       src/sys/arch/vax/include: disklabel.h types.h
>>       src/sys/sys: bootblock.h
>>
>> Log Message:
>> - Increase MAXPARTITIONS for vax from 8 to 16, using the standard NetBSD
>>   mechanism to ensure all existing /dev nodes continue to work
>
> How do you detect the format of an existing disklabel?
>
> I remember looking at this a few years back and deciding it was all fubar.
> IIRC there is a 'partition count' field, but that is used as an upper
> bound for the number of used partitions, not the size of the table.
> I sort of remember that the number of partition slots tended to depend
> on LABELOFFSET - and was 16 if that would fit into the available space.
>
> vax might be the only system that has (emulated?) disks where the disk
> controller doesn't return the actual disk geometry/size - requiring it
> be stored in the label?

The same way the compat code worked for i386 and other migrated ports
- it just gets the first 8 partitions :)


Home | Main Index | Thread Index | Old Index