tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enhance ptyfs to handle multiple instances.



On 14.03.2014 18:40, Christos Zoulas wrote:
> In article <20140314143532.GA17867%britannica.bec.de@localhost>,
> Joerg Sonnenberger  <joerg%britannica.bec.de@localhost> wrote:
>> On Fri, Mar 14, 2014 at 09:51:12AM -0400, Christos Zoulas wrote:
>>> I don't think that putting ptmx inside devpts makes sense. OTOH, we
>>> could have multiple ptmx devices with different minor numbers and use that
>>> as the differentiating factor for the pty devices. I think that's too 
>>> complex
>>> and probably not worth it (at least in the first pass).
>>
>> Actually, it would simplify things a lot if /dev/ptmx was a symlink to
>> /dev/pts/ptmx. The ptyfs instance could assign a unique minor number per
>> instance and use that to associate the instance with the correct mount
>> point.
> 
> Yes, except that ptmx is supposed to work without ptyfs, but I guess that
> nobody uses it this way anymore.

I use, for experience :)

> 
> christos
> 
> 
> 



Home | Main Index | Thread Index | Old Index