Subject: Re: /usr/mdec is a headache for shared ports
To: Noriyuki Soda <soda@sra.co.jp>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: tech-userlevel
Date: 06/08/2000 11:26:37
On Thu, Jun 08, 2000 at 05:10:33PM +0900, Noriyuki Soda wrote:
> > There is also the problem that some mips ports have MAXPARTIONS 8 and
> > some 16, which changes the size of struct disklabel and so also the
> > DIOC* ioctls.
>
> This can be fixed by using MAXMAXPARTITIONS as structure size,
> and using sysctl(3) kern.maxpartitions as actual size for ioctl
> interface. (not only disklabel command, but also libc and other
> programs should be fixed)
Talking about headaches ;-) Maybe you should read the partition sceme thread
(end of last year on tech-kern, I think). This currently is the major point
that prevents the m68k ports to share sets.
Leo.