OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/4] Helper patches for PTY namespaces
Re: Multiple instances of devpts [message #29446 is a reply to message #29445] Sat, 12 April 2008 19:30 Go to previous messageGo to previous message
hpa is currently offline  hpa
Messages: 38
Registered: January 2007
Member
H. Peter Anvin wrote:
> 
> Thinking about it further, allowing this restriction would also allow a 
> whole lot of cleanups inside the pty setup, since it would eliminate the 
> need to do a separate lookup to find the corresponding devpts entry in 
> pty_open().  The benefit here comes from the closer coupling between the 
> pty and the devpts filesystem and isn't at all related to namespaces, 
> but it's a very nice side benefit.
> 

Minor correction: the lookup is actually in init_dev() in tty_io.c; I'm 
specifically referring to devpts_get_tty().

	-hpa
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: nets: status of sysfs with netns
Next Topic: same nfs mount dir in VEs
Goto Forum:
  


Current Time: Sat Aug 10 12:16:25 GMT 2024

Total time taken to generate the page: 0.02703 seconds