From owner-freebsd-current Mon Jun 17 8:56:41 2002 Delivered-To: freebsd-current@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id B09E437B40D; Mon, 17 Jun 2002 08:56:36 -0700 (PDT) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.36 #1) id 17Jyse-000GAD-00; Mon, 17 Jun 2002 17:57:24 +0200 From: Sheldon Hearn To: Doug Barton Cc: current@FreeBSD.org, dirkx@covalent.net Subject: Re: mini-Head's up: rc.syscons now test for /dev/ttyv0 In-reply-to: Your message of "Sun, 16 Jun 2002 14:04:13 MST." <3D0CFD4D.ACCE9CB2@FreeBSD.org> Date: Mon, 17 Jun 2002 17:57:24 +0200 Message-ID: <62136.1024329444@axl.seasidesoftware.co.za> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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