From owner-cvs-sbin Sat Jun 28 01:20:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA11405 for cvs-sbin-outgoing; Sat, 28 Jun 1997 01:20:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA11337; Sat, 28 Jun 1997 01:19:59 -0700 (PDT) From: Paul Traina Received: (from pst@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id BAA18730; Sat, 28 Jun 1997 01:18:30 -0700 (PDT) Date: Sat, 28 Jun 1997 01:18:30 -0700 (PDT) Message-Id: <199706280818.BAA18730@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/init init.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 1997/06/28 01:18:30 PDT Modified files: sbin/init init.c Log: Attempt to open the device for reading before actually adding the device to the session list. If the device comes back as unconfigured, just ignore that line in /etc/ttys. If someone HUP's init, we'll try again. This change stops getty's from hanging on vty and sio ports that don't exist, either due to LKM drivers not being loaded, or probes failing. Reviewed by: bde Revision Changes Path 1.18 +14 -1 src/sbin/init/init.c