Subject: Re: proposed change to sys/sys/disklabel.h
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jaromir Dolecek <jdolecek@netbsd.org>
List: tech-kern
Date: 03/25/2002 22:56:07
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?

Jaromir
-- 
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.org/Ports/i386/ps2.html
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-