|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Re: [uml-user] TTY logging and Screen - msg#00264List: linux.uml.user
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
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
Thread at a glance:
Previous Message by Date:[uml-user] TTY logging and ScreenHey 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) Any help would be greatly apprecaited!!! Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. Next Message by Date:[uml-user] Re: TTY logging and ScreenThanks Sven! Here's the command that worked for me: screen -S umltest -d -m sh -c '/home/sgt_b/uml/linux ubd0=/home/sgt_b/root_fs tty_log_fd=3 3>/home/sgt_b/logs/tty.log' Combination of wrong syntax, and screen dropping the 3>tty.log. using sh -c and quotes solved the issue. Thanks again! Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. Previous Message by Thread:[uml-user] TTY logging and ScreenHey 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) Any help would be greatly apprecaited!!! Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. Next Message by Thread:[uml-user] Re: TTY logging and ScreenThanks Sven! Here's the command that worked for me: screen -S umltest -d -m sh -c '/home/sgt_b/uml/linux ubd0=/home/sgt_b/root_fs tty_log_fd=3 3>/home/sgt_b/logs/tty.log' Combination of wrong syntax, and screen dropping the 3>tty.log. using sh -c and quotes solved the issue. Thanks again! Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want.
blog comments powered by Disqus
|
|