Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jun 2002 17:57:24 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Doug Barton <DougB@FreeBSD.org>
Cc:        current@FreeBSD.org, dirkx@covalent.net
Subject:   Re: mini-Head's up: rc.syscons now test for /dev/ttyv0 
Message-ID:  <62136.1024329444@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Sun, 16 Jun 2002 14:04:13 MST." <3D0CFD4D.ACCE9CB2@FreeBSD.org> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Sun, 16 Jun 2002 14:04:13 MST, Doug Barton wrote:

> 	Based on some suggestions by a user, I've added the following to the
> top of rc.syscons:
> 
> # Handle diskless boots, and other situations where syscons is not
> present
> #
> if [ ! -c "${kbddev}" ]; then
>         exit 0
> fi
> 
> As far as I can tell, this should be safe, but if anyone comes across
> wackiness, please let me know.

Since this script relies on /usr being mounted already, wouldn't ye olde
"kldstat -v | grep ' scterm-sc$'" provide a more faithful answer?

I'm not sure how much it actually matters, though.  A nonexistent
/dev/ttyv0 seems quite pathalogical to me.

Ciao,
Sheldon.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?62136.1024329444>