Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jul 2004 09:29:42 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        marcel@xcllnt.net
Subject:   Re: [TEST/REVIEW/HEADSUP] tty drivers mega-patch 
Message-ID:  <10536.1089876582@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 14 Jul 2004 22:47:18 MDT." <20040714.224718.93805530.imp@bsdimp.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040714.224718.93805530.imp@bsdimp.com>, "M. Warner Losh" writes:
>In message: <20040714180816.GA5503@dhcp50.pn.xcllnt.net>
>            Marcel Moolenaar <marcel@xcllnt.net> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10536.1089876582>