[HEADSUP] naming of tty devices.

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Sep 20 02:02:08 PDT 2004


In message <20040920085908.GA43176 at 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 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-arch mailing list