Subject: Re: bin/21658: interrupting (^C) /etc/rc.d/fsck doesn't stop auto boot
To: ITOH Yasufumi <>
From: Luke Mewburn <>
List: netbsd-bugs
Date: 05/25/2003 20:41:11
On Sun, May 25, 2003 at 12:41:29AM +0900, ITOH Yasufumi wrote:
  | writes:
  | > Does renaming /etc/rc.d/fsck to /etc/rc.d/ fix the problem?  (This
  | > will make the contents of /etc/rc.d/ run as direct children of the
  | > startup shell.)
  | Oh, yeah, sort of.
  | Yes, this allows to stop auto boot by ^C.
  | However, "Boot interrupted." is not printed.  I'm not sure why....

In etc/rc.d/fsck, try changing
	fsck -p
	case $?
	fsck -p
	echo "fsck returned $?
	case $rv
and then let us known what is printed when you hit ^C.

etc/rc.d/fsck should terminate an autoboot (direct to multi-user)
if fsck fails; that's what stop_boot() in that script is supposed to do.
that way it doesn't need to be installed as