On 15/04/2013 15:34, Anthony Gutierrez wrote:
That is a little tricky. An easy way to do this is to retain them on the
image by disabling the CoW layer. Although you need to be careful with
this and probably use separate images for each file you need generated.
That's pretty much what I've done.
I have two discs: the OS image, which retains CoW, and an image mounted
at /home without CoW. By default, I mount /home read-only (see
/etc/fstab) so that if the sim dies (fault or ^C), the image file is not
left 'dirty'.
You can remount with:
mount -o remount,rw /home
Don't forget to remount ro when you're done. If the sim exits other
than by proper system shutdown with /home mounted read-write:
losetup -o 32256 /dev/loop0 ubuntu-home.img
fsck /dev/loop0
losetup -d /dev/loop0
It's probably a good idea if the home partition isn't too big. Use
util/gem5img.py to create a new disc image.
No network tool can work because, as far as I know, there is presently
no connection between the ethernet device and the outside world.
David.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users