All of lore.kernel.org
 help / color / mirror / Atom feed
From: "roland" <for_spam@gmx.de>
To: user-mode-linux-user@lists.sourceforge.net,
	"Sven Köhler" <skoehler@upb.de>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Re: [uml-user] best way for init-script to start/stop UML
Date: Thu, 20 May 2004 00:13:18 +0200	[thread overview]
Message-ID: <032901c43dee$7da4a730$2000000a@schlepptopp> (raw)
In-Reply-To: c7aquk$trh$1@sea.gmane.org

> How can i gracefully halt a UML-machine? Is there something more simular
i think changing the cad-handler in /etc/inittab would do the trick:
in line:
ca::ctraltdel...
change
"-r" to "-h"

then you should be able to shutdown your uml with "uml_mconsole cad"

imho, it should be possible to issue init-commands to a running uml via uml_mconsole, to switch uml guest systems to whatever
init-level we like. is such feature existing or being planned ?

regards
roland



----- Original Message ----- 
From: "Sven Köhler" <skoehler@upb.de>
To: <user-mode-linux-user@lists.sourceforge.net>
Sent: Wednesday, May 05, 2004 3:41 PM
Subject: [uml-user] best way for init-script to start/stop UML


> hi,
>
> i'm about to write some init-scripts that are supposed to start/stop UML
> machines if the computer started/stopped. I think i can easily start the
> UML-kernel, but stopping it is a problem for me.
>
> I can imagine to do it with mconsole, since there is a halt-command, but
> after the issuing the halt-command in mconsole, the UML-kernel stopps
> running immediatly. I worry about the filesystems of the UML-machine
> that might get damaged.
>
> How can i gracefully halt a UML-machine? Is there something more simular
> to the issuing a halt-command inside the UML?
>
> Since using mconsole is kind of tricky, i'd like to use the
> old-fashioned way with signals. What about SIGINT, SIGTERM, etc.
> Is it safe to send any of those to the UML-kernel? Is any of the signals
> simular to mconsole's halt-command?
>
> Another way could be to send the halt-command directly to the
> UNIX-Socket that mconsole would use. Is there any way of soing that from
> the command-line?
>
> Thx
>    Sven
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... Oracle 10g.
> Take an Oracle 10g class now, and we'll give you the exam FREE.
> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&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
>



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
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:[~2004-05-19 22:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <c7aquk$trh$1@sea.gmane.org>
2004-05-19 22:13 ` roland [this message]
2004-05-20  0:08   ` [uml-devel] Re: [uml-user] best way for init-script to start/stop UML Sven Köhler
2004-06-02 11:17     ` 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='032901c43dee$7da4a730$2000000a@schlepptopp' \
    --to=for_spam@gmx.de \
    --cc=skoehler@upb.de \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=user-mode-linux-user@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.