> > Only for a re-open - which is very different to an initial open,
> > and /dev/tty is deep magic in this situation.
> 
> I guess I fail to understand something here, perhaps because I haven't 
> looked at the code in very much details for several years.  How is there 
> not a 1:1 mapping between tty structures and instances, even in the 
> presence of /dev/tty?  (/dev/tty, of course, points to a real tty.)

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.

> *Nod.*  It may mean that for consoles we have to provide transient 
> inodes in rootfs.

consoles for printk need to exist extremely early if we are going to be
able to kick most of the console special case code into the bitbucket.

Alan
_______________________________________________
Containers mailing list
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to