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

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Jul 15 00:29:52 PDT 2004


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.


More information about the freebsd-current mailing list