Re: [TEST/REVIEW/HEADSUP] tty drivers mega-patch

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 15 Jul 2004 09:29:42 +0200
In message <20040714.224718.93805530.imp_at_bsdimp.com>, "M. Warner Losh" writes:
>In message: <20040714180816.GA5503_at_dhcp50.pn.xcllnt.net>
>            Marcel Moolenaar <marcel_at_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_at_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.
Received on Thu Jul 15 2004 - 05:29:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC