On Thu, 24 Feb 2005, Jurgen Defurne wrote:

> Is there a way to allocate always the same pty to the same instance of UML ?
>
> That way, I could eg. startup a screen session wich connects automatically a
> number of consoles to all allocated ptys.

According to the UML howto, if you make something open /dev/ptyxx in 
advance then you can start UML with con$n=tty:/dev/ttyxx and it will work. 
I haven't actually tried this, nor am I sure how aggressive you can get in 
just grabbing ptys without going through the library interface.  I would 
think that higher numbered ptys (referring to the minor device number) 
would be less likely to be occupied, or to be mistakenly assigned by libc.

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA  90095-1555
Email: [EMAIL PROTECTED]    http://www.math.ucla.edu/~jimc (q.v. for PGP key)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to