All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Zimmerman <mdz@debian.org>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [PATCH] Starting a command inside UML from mconsole
Date: Sat, 13 Sep 2003 15:48:49 -0400	[thread overview]
Message-ID: <20030913194849.GX8622@alcor.net> (raw)
In-Reply-To: <200309131820.45833.blaisorblade_spam@yahoo.it>

On Sat, Sep 13, 2003 at 06:20:45PM +0200, BlaisorBlade wrote:

> Reason for this: time ago, someone requested how to execute a command from 
> mconsole. The discussion ended up by saying "use cad, after having changed 
> the related line in /etc/inittab". The command needed was the one to poweroff 
> the PC, but this applies generally. Since that thread showed that running 
> commands without logging in is something needed, I decided to implement it.
> 
> I'd like a discussion about this(how much interest in this there is, 
> suggestions, requests). Especially:

This is interesting.  I wrote a small client/server system for the purpose
of programmatically executing programs within UML.  It works nicely, with
the exception that it is necessary to install the server within UML in order
for it to work.  It would be nice to be able to do this with a pristine UML.

What do you do with stdin, stdout and stderr?  I connect them to a UML
serial device, which can be connected to the tty (for interactive programs)
or any other UML channel.

> - is the ability to read arguments with spaces(within quotes) needed even for 
> the program name?

I don't think this is particularly crucial; does it cause some unexpected
difficulty?

-- 
 - mdz


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2003-09-13 19:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-13 16:20 [uml-devel] [PATCH] Starting a command inside UML from mconsole BlaisorBlade
2003-09-13 19:48 ` Matt Zimmerman [this message]
2003-09-14 18:50   ` BlaisorBlade
2003-09-14 20:33     ` Henrik Nordstrom
2003-09-15 17:12     ` BlaisorBlade
2003-09-14  2:33 ` Jeff Dike
2003-09-14  6:30   ` Matt Zimmerman
2003-09-14  6:45   ` Russell Coker
2003-09-14  7:59   ` Steve Schnepp
2003-09-14 13:50     ` Jeff Dike
2003-09-14 16:36       ` Matt Zimmerman
2003-09-14 17:10   ` BlaisorBlade
2003-09-14 17:45     ` Michael Richardson
2003-09-14 20:28       ` Henrik Nordstrom
2003-09-14 20:32         ` Michael Richardson
2003-09-15  7:31         ` Ulf Bartelt
2003-09-15  9:20           ` Henrik Nordstrom
2003-09-16 18:27 ` BlaisorBlade
2003-09-17 17:39   ` BlaisorBlade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030913194849.GX8622@alcor.net \
    --to=mdz@debian.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.