From owner-freebsd-current@FreeBSD.ORG Thu Jul 15 07:29:51 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 DB8B516A4D6; Thu, 15 Jul 2004 07:29:51 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4956C43D39; Thu, 15 Jul 2004 07:29:51 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6F7TgwJ010537; Thu, 15 Jul 2004 09:29:43 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 14 Jul 2004 22:47:18 MDT." <20040714.224718.93805530.imp@bsdimp.com> Date: Thu, 15 Jul 2004 09:29:42 +0200 Message-ID: <10536.1089876582@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: stable@freebsd.org cc: current@freebsd.org cc: marcel@xcllnt.net Subject: Re: [TEST/REVIEW/HEADSUP] tty drivers mega-patch 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, 15 Jul 2004 07:29:52 -0000 In message <20040714.224718.93805530.imp@bsdimp.com>, "M. Warner Losh" writes: >In message: <20040714180816.GA5503@dhcp50.pn.xcllnt.net> > Marcel Moolenaar writes: >: But anyway, if you think that all serial devices should have tty$# >: and cua$#, then just implement it that way. It's better to get this >: rework behind us. I can adjust. If not, then I can at least commit :-) > >I know that a lot of people will have to adjust. I have several files >with things like /dev/ucom0 in them.... > >: > The plan is to make them on-demand-devices (clonable) so that they >: > do not clutter up /dev but appear if you access them. That would >: > leave only the ttyu0 and cuau0 devices. >: >: Yes! I like the cloning. > >What's the cloning plan? To make the "init" and "lock" devices only when they are accessed and remove them on close. This is the difference between 6 devices nodes per port and 2 devices nodes per port in /dev -- 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.