Subject: kern/23614: MAKEDEV and MAKEDEV.local should add /rescue to $PATH
To: None <>
From: Christian Biere <>
List: netbsd-bugs
Date: 12/01/2003 23:14:18
>Number:         23614
>Category:       kern
>Synopsis:       MAKEDEV and MAKEDEV.local should add /rescue to $PATH
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 01 23:15:00 UTC 2003
>Originator:     Christian Biere
>Release:        NetBSD 1.6ZF
System: NetBSD cyclonus 1.6ZF NetBSD 1.6ZF (STARSCREAM) #0: Sun Nov 30 01:56:21 CET 2003 bin@cyclonus:/usr/build/obj/sys/arch/i386/compile/STARSCREAM i386
Architecture: i386
Machine: i386

If MAKEDEV is run from init due to a missing /dev/console and /usr/sbin
is not on the root partition chown will not be found and you get dozens
or hundreds of "chown: not found" failure messages.


make /usr (or at least /usr/sbin) a mount point
# rm /dev/console
# reboot


Add /rescue to PATH in MAKEDEV and MAKEDEV.local.