logo       

Re: [uml-user] TTY logging and Screen: msg#00264

Subject: Re: [uml-user] TTY logging and Screen
Sgt B wrote:
Hey everyone, first off I'd like to thank everyone on the list. Its been of 
great help to me!
I've been using screen to start my UML's on boot using this command:
"screen -S umltest -d -m ./linux tty_logging_fd=3 3>tty_log"
The UML boots and runs in the background just fine. There's only one thing that 
has me puzzled. TTY logging does not work when run that way.
If I enter the screen first (screen -S umltest), then run "./linux tty_logging_fd=3 
3>tty_log" and manually detach from the screen (control-A d) tty logging DOES work.
Unfortunately, I cannot script this. :(
Its important that I start my UMLs on boot, and keep the ability to use tty 
logging. I'd like to keep using screen to run my UMLs on boot, as other options 
from this list do not work for me.(Things that involve con=null don't work with 
tty logging either)

try:
screen -S umltest -d -m './linux tty_logging_fd=3 3>tty_log'
(to tell screen that 3>tty_log is part of the command to execute)

Regards,
Sven



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click


<Prev in Thread] Current Thread [Next in Thread>