From: roland <for...@gm...> - 2004-05-19 22:06:21
|
> 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" <sko...@up...> To: <use...@li...> 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 > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > |