On Monday 09 October 2006 20:45, Jeff Dike wrote: > On Sun, Oct 08, 2006 at 09:09:00PM +0200, Blaisorblade wrote: > > Mconsole exec would also be useful for this, if it could return output - > > maybe redirecting to dev/console would do that (to test) or it could > > maybe be added easily, now. > > We do have a way of returning console output to an mconsole client now > - look at with_console() in mconsole_kern.c and its users. It's not > perfect - it will send you all console output, including random stuff > that happens to be printed while the sysrq/stack/exec is running, but > it's pretty good.
Yeah, when saying /dev/console I was thinking exactly about that. What I meant (but I didn't fully express, my fault) is that you can redirect it manually with bash, or the kernel can open+dup2 /dev/console to the fd 1. -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade http://www.user-mode-linux.org/~blaisorblade Chiacchiera con i tuoi amici in tempo reale! http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user