From owner-freebsd-arch@FreeBSD.ORG Mon Sep 20 09:02:08 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9515416A4CE; Mon, 20 Sep 2004 09:02:08 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F2FB543D2F; Mon, 20 Sep 2004 09:02:07 +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 i8K927i9075623; Mon, 20 Sep 2004 11:02:07 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Ruslan Ermilov From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 20 Sep 2004 11:59:08 +0300." <20040920085908.GA43176@ip.net.ua> Date: Mon, 20 Sep 2004 11:02:07 +0200 Message-ID: <75622.1095670927@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: arch@freebsd.org Subject: Re: [HEADSUP] naming of tty devices. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2004 09:02:08 -0000 In message <20040920085908.GA43176@ip.net.ua>, Ruslan Ermilov writes: >> >> sio's cuaa* gets renamed to cuad* >> >> sio's {tty,cua}[il]%d gets renamed to {tty,cua}%d.{init,lock} >> >But we now have cuaa0, cuaia0, cuala0, ttyd0, ttyid0, and ttyld0. >So, shouldn't the above line be instead: > > sio's tty[il]d%d gets renamed to ttyd%d.{init,lock} > sio's cua[il]a%d gets renamed to cuad%d.{init,lock} > >You didn't make it clear what ${base_device} should look like, but I'm >sure you meant that will it include the driver's "letter". This way >we'll have: ttyd0, ttyd0.init, ttyd0.lock, cuad0, cuad0.init, cuad0.lock. OOps: forgot to say: yes, you're right. -- 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.