From owner-freebsd-bugs Thu Oct 30 04:01:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA04770 for bugs-outgoing; Thu, 30 Oct 1997 04:01:14 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: from uddias.diaspro.com (uddias.diaspro.com [194.84.211.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA04749 for ; Thu, 30 Oct 1997 04:01:00 -0800 (PST) (envelope-from vasim@diaspro.com) Received: from uddias.diaspro.com (vasim@uddias.diaspro.com [194.84.211.1]) by uddias.diaspro.com (8.8.7/8.8.7) with SMTP id RAA06668 for ; Thu, 30 Oct 1997 17:00:22 +0500 (ES) Date: Thu, 30 Oct 1997 17:00:22 +0500 (ES) From: Vasim Valejev To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/4892: config gives bad numbers of pseudo-device to kernel In-Reply-To: <199710301127.QAA04794@uddias.diaspro.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi ! On Thu, 30 Oct 1997, Vasim Valejev wrote: > > >Number: 4892 > >Category: bin > >Synopsis: config gives bad numbers of pseudo-device to kernel > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: freebsd-bugs [skip] Sorry , it's bad fix . Rigth fix for this problem : *** mkheaders.c.orig Thu Oct 30 16:18:35 1997 --- mkheaders.c Thu Oct 30 16:41:03 1997 *************** *** 94,98 **** for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next) if (dp->d_unit != -1 && eq(dp->d_name, dev)) { ! if (dp->d_type == PSEUDO_DEVICE) { count = dp->d_slave != UNKNOWN ? dp->d_slave : 1; --- 94,98 ---- for (hicount = count = 0, dp = dtab; dp != 0; dp = dp->d_next) if (dp->d_unit != -1 && eq(dp->d_name, dev)) { ! if ((dp->d_type & TYPEMASK) == PSEUDO_DEVICE) { count = dp->d_slave != UNKNOWN ? dp->d_slave : 1; Vasim V. (2:5011/27 http://members.tripod.com/~Vasim VV86-RIPE)