From owner-freebsd-current Sat May 13 12:54:43 2000 Delivered-To: freebsd-current@freebsd.org Received: from assaris.sics.se (dyna225-140.nada.kth.se [130.237.225.140]) by hub.freebsd.org (Postfix) with ESMTP id CB03D37B8E2 for ; Sat, 13 May 2000 12:54:39 -0700 (PDT) (envelope-from assar@assaris.sics.se) Received: (from assar@localhost) by assaris.sics.se (8.9.3/8.9.3) id VAA16818; Sat, 13 May 2000 21:54:44 +0200 (CEST) (envelope-from assar) To: Jeroen Ruigrok van der Werven Cc: Manfred Antar , current@FreeBSD.ORG Subject: Re: MAKEDEV Warning ??? References: <4.3.2.3.2.20000513115532.00b32ee8@pozo.com> <20000513210731.C31594@lucifer.bart.nl> From: Assar Westerlund Date: 13 May 2000 21:54:43 +0200 In-Reply-To: Jeroen Ruigrok van der Werven's message of "Sat, 13 May 2000 21:07:31 +0200" Message-ID: <5lwvkyz0n0.fsf@assaris.sics.se> Lines: 24 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.6 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jeroen Ruigrok van der Werven writes: > -On [20000513 21:06], Manfred Antar (mantar@pacbell.net) wrote: > >I get this in boot mesgs and I don't know how to fix it. > >Device char-major=13 minor=0 opened in block mode, convert to char mode > >with /dev/MAKEDEV before 2000-07-01 > > There is a bug somewhere in the rootmount code. The following patch fixed the problem for me. For extra points, rename the function. /assar --- vfs_subr.c~ Sat May 6 00:08:38 2000 +++ vfs_subr.c Sat May 13 21:47:08 2000 @@ -1296,7 +1296,7 @@ return (error); } vp = nvp; - vp->v_type = VBLK; + vp->v_type = VCHR; addalias(vp, dev); *vpp = vp; return (0); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message