From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 17:20:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC9E016A4CF for ; Thu, 14 Oct 2004 17:20:27 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B189243D31 for ; Thu, 14 Oct 2004 17:20:18 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i9EHKFcK069104; Thu, 14 Oct 2004 19:20:15 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Randy Bush From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 14 Oct 2004 10:16:43 PDT." <16750.46203.217249.805105@ran.psg.com> Date: Thu, 14 Oct 2004 19:20:15 +0200 Message-ID: <69103.1097774415@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: freebsd-current@freebsd.org cc: Peter Edwards Subject: Re: NOTICE: /dev/cuaa%d -> /dev/cuad%d renaming X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 17:20:27 -0000 In message <16750.46203.217249.805105@ran.psg.com>, Randy Bush writes: >> Think of DCD as indicating that a "connection is established" with the >> other side. The ttyd device is _supposed_ to block until a remote >> connection is established. If you can't provide a DCD signal, then >> just use "cuad" instead of "ttyd": >> >> The intention is that's for making outgoing calls you use cuad, so a >> getty waiting to open ttyd won't stop the open on cuad. In your case, >> it's probably ok for the getty to just hog the modem itself, so using >> /dev/cuad0 sounds like the right thing to do. > >it's the getty that is the problem. this is out of band access to >the console, i.e. getty. It is a rather hairy issue. It is true that /dev/cua* should be used when DCD should be ignored, but in addition to that we also lock CLOCAL on consoleports in order to make /dev/tty* for them act essentially the same way. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.