Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Feb 1999 08:50:39 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/9931: config gives misleading error when duplicated pseudo-device statement in config file
Message-ID:  <199902061650.IAA57910@fenestro.parc.xerox.com>

next in thread | raw e-mail | index | archive | help

>Number:         9931
>Category:       bin
>Synopsis:       config gives misleading error when duplicated pseudo-device statement in config file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb  6 09:00:00 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Bill Fenner
>Release:        FreeBSD 3.0-STABLE i386
>Organization:
Xerox
>Environment:

config in 3.0-STABLE as of 2/6/99 7AM PST, although my guess is
that this problem exists starting from rev 1.7 of mkheaders.c .

>Description:

If you have a pseudo-device listed twice in a config file, config
claims that the device is not known.

>How-To-Repeat:

% grep splash FENESTRO
# splash screen/screen saver
pseudo-device   splash
% config FENESTRO
Don't forget to do a ``make depend''
Kernel build directory is ../../compile/FENESTRO
% echo "pseudo-device splash" >> FENESTRO
% config FENESTRO
Don't forget to do a ``make depend''
Warning: pseudo-device "splash" is unknown
Kernel build directory is ../../compile/FENESTRO

>Fix:
	
Unknown.  Perhaps the parser should emit an error when encountering
a second instance of a pseudo-device specification.  (e.g. newdev()
could search through the existing dtab before adding a pseudo-device)

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902061650.IAA57910>