I'm running a 2.6.9 UML kernel inside a 2.6.9-skas host. I'm using the
following to launch the UML:
#!/bin/bash
export TMPDIR=/mnt/ramdisk
exec uml umid=test con0=null,fd:2 con1=fd:0,fd:1 \
ubd0=test.cow
eth0=daemon,,unix,/var/run/uml-utilities/uml_switch.ctl
Note that TMPDIR is a tmpfs partition. The problem is two-fold:
1. Shutdowns never exit back to the shell, even when I remove "exec"
so that the uml kernel is being launched as a child process.
2. Killing the uml results in unlinked memory files on /mnt/ramdisk,
and there doesn't seem to be any way to forcibly clear or remount
the partition.
So, how can I cleanly shut down the uml, and (more importantly), how can
I remove the unlinked memory files that have been left lying around?
--
Find my Techno-Geek Journal at http://www.codegnome.org/geeklog/
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user