Hello,

I've observer when using 'uml_mconsole exec' that the command returns almost
immediately, indepently of the time taken performing the command issued. For
example, considering /tmp/foo a very big file (100MB, for example) existing
in the virtual machine filesystem, when issuing in host:

   uml_mconsole exec cp /tmp/foo /tmp/bar

the uml_mconsole command returns almost instantantly (less than a second)
with

   OK The command has been started successfully

but the actual copying takes several (ten or more seconds), as can be check
in the virtual machine enviroment (for example, 'ps axf' shows the cp
command running for a while).

I understand that this maybe is the expected beaviour (after all, from the
point of view of uml_mconsole, all it has to do is create a new sh
enviroment in background in the virtual machine and launch the command
inside). However, I would know if someone has thought or developed any
workaround to execute commands in virtual machines though mconsole exec
returning only when the command has finished (resembling a conventional 'cp
/tmp/foo /tmp/bar', that only returns when it has finished or has been
interrupted).

Thanks in advance!

Best regards,

--------------------
Fermín Galán Márquez
CTTC - Centre Tecnològic de Telecomunicacions de Catalunya
Parc Mediterrani de la Tecnologia, Av. del Canal Olímpic s/n, 08860
Castelldefels, Spain
Room 1.02
Tel : +34 93 645 29 12 
Fax : +34 93 645 29 01
Email address: [EMAIL PROTECTED] 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to