Skip site navigation (1)Skip section navigation (2)
Date:      13 May 2000 21:54:43 +0200
From:      Assar Westerlund <assar@sics.se>
To:        Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl>
Cc:        Manfred Antar <mantar@pacbell.net>, current@FreeBSD.ORG
Subject:   Re: MAKEDEV Warning ???
Message-ID:  <5lwvkyz0n0.fsf@assaris.sics.se>
In-Reply-To: Jeroen Ruigrok van der Werven's message of "Sat, 13 May 2000 21:07:31 %2B0200"
References:  <4.3.2.3.2.20000513115532.00b32ee8@pozo.com> <20000513210731.C31594@lucifer.bart.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> 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




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