Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2004 11:01:41 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        arch@freebsd.org
Subject:   Re: [HEADSUP] naming of tty devices. 
Message-ID:  <74982.1095670901@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 20 Sep 2004 11:59:08 %2B0300." <20040920085908.GA43176@ip.net.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20040920085908.GA43176@ip.net.ua>, Ruslan Ermilov writes:

>> This results in the following major compatibility issues:
>>
>> 	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.

>If this will be done in both RELENG_5 and HEAD, I suggest to have
>backward compatibility symlinks under /dev (in RELENG_5 only).  I
>don't know how hard it would be to implement this, just an idea.

It will not be done in RELENG_5.

We can consider making a "future compatibility" rc script which creates
some strategic symlinks, but that is for discussion down the road.


-- 
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?74982.1095670901>