Subject: CVS commit: basesrc/sbin/init
To: None <source-changes@netbsd.org>
From: David Brownlee <abs@netbsd.org>
List: source-changes
Date: 01/21/2002 17:57:42
Module Name: basesrc
Committed By: abs
Date: Mon Jan 21 15:57:41 UTC 2002
Modified Files:
basesrc/sbin/init: Makefile init.c
Log Message:
Rename MSDOSFS_ROOT to MFS_DEV_IF_NO_CONSOLE, and rework:
- Always attempt mfs dev if missing /dev/console
- Save and run both MAKEDEV and MAKEDEV.local
- After creating the mfs dev, mknod() and freopen() /dev/console.
- If MAKEDEV is missing do not fail out early, but still create the mfs,
/dev/console.
- If we hit any errors fail out to single user.
This change _only_ affects systems booting without /dev/console.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 basesrc/sbin/init/Makefile
cvs rdiff -r1.44 -r1.45 basesrc/sbin/init/init.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.