Subject: CVS commit: src/sbin/init
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/02/2007 22:43:24
Module Name: src
Committed By: dsl
Date: Fri Mar 2 22:43:24 UTC 2007
Modified Files:
src/sbin/init: init.c
Log Message:
Instead of creating the mfs /dev here, get MAKEDEV to do it.
Removes a load of code that is easier done as a script.
Whenever init exits, use a different error number. Since it is difficult
for init to output messages when /dev/console is absent, having the exit
code reported by the kernel panic gives a chance of identifying the fault.
Also exit if MAKEDEV fails to create /dev/console.
To generate a diff of this commit:
cvs rdiff -r1.90 -r1.91 src/sbin/init/init.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.