Subject: Re: proposed change to sys/sys/disklabel.h
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 03/25/2002 14:07:11
On Mon, 25 Mar 2002, Jaromir Dolecek wrote:

> Bill Studenmund wrote:
> > Would anyone object to this change?
>
> No.
>
> Perhaps add
>
> #define	FS_MAX		FS_CCD
>
> and make fstypenames[] explicitly use this like:
>
> static const char *const fstypenames[FS_MAX+1] = {
>
> to catch mistakes?

The problem is that means also changing the userland programs which use
FS_MAX now. I don't know how long FS_MAX has been numreal + 1, but it's
been a while. I'd rather leave that historical precidence alone. :-)

Take care,

Bill