In message <[EMAIL PROTECTED]>, Dan Nelson writes:
>In the last episode (May 08), Poul-Henning Kamp said:
>> In message <[EMAIL PROTECTED]>, Erik de Zeeuw writes:
>> >
>> >I installed FreeBSD 5.0-20000506-CURRENT on an AMD K6-2, 64Mb, 4Gb, and
>> >when I first launch /stand/sysinstall after the system has start, the
>> >following message appears :
>> >
>> >... /kernel: WARNING: run /dev/MAKEDEV before 2000-06-01 to get rid of
>> >block devices
>> >
>> >I searched the list archives and find some informations about this, but
>> >nothing that helps me understand why I get this message.
>>
>> >Any idea about what could cause this message to come up ?
>>
>> No, I havn't tracked down the last couple of causes of this, but I
>> will try to reproduce it as you describe it with some debugging added.
>
>How hard would it be to print the filename (or the device/inode) that
>triggers the warning?
Not at all (warning: cut&pasted patch, tabs are screwed up!)
Index: kern_conf.c
===================================================================
RCS file: /home/ncvs/src/sys/kern/kern_conf.c,v
retrieving revision 1.75
diff -u -r1.75 kern_conf.c
--- kern_conf.c 2000/03/25 21:10:20 1.75
+++ kern_conf.c 2000/05/06 15:06:33
@@ -270,7 +270,8 @@
if (!whine) {
printf("WARNING: run /dev/MAKEDEV before 2000-06-01 to
get rid of block devices\n");
whine++;
}
+ printf("Whine: %d/%d\n", umajor(x), uminor(x));
return makebdev(umajor(x), uminor(x));
default:
Debugger("udev2dev(...,X)");
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message