[RFC][PATCH 1/3] Move parts of init_dev() into new functions

H. Peter Anvin hpa at zytor.com
Tue Aug 26 10:40:36 PDT 2008

Alan Cox wrote:
> On Tue, 26 Aug 2008 09:40:20 -0700
> "H. Peter Anvin" <hpa at zytor.com> wrote:
>> Alan Cox wrote:
>>> In the case of the initial open you don't yet know the tty pointer and
>>> may be creating it. SO the tty isn't a reference because it doesn't exist.
>> Got it.  I was under the (apparently mistaken) notion that only pty tty 
>> structures were created dynamically.
> tty is dynamically created and attached to the file handle. The port side
> structure is currently port specific and does last. Thats what the
> tty_port stuff is intended to slowly standardise but won't help ptys as
> they don't have a physical port anyway.

Got it, sorry for the confusion.


More information about the Containers mailing list