Hi,
This is something really mysterious about raw disk access... there seems to be
some "cache" for it extremely well hidden. Even when erasing everything
(including the software itself!), stale content is left behind. I would be
curious to know where.
Suppose you pass a raw partition to VirtualBox:
VBoxManage internalcommands createrawvmdk -filename ~/.VirtualBox/sdba6.vmdk
-rawdisk /dev/sda -partitions 6 -register
Then from the (linux) guest host, write something to it:
echo "you will never get rid of this anymore" > /dev/hda6
Now shutdown the guest OS properly. Unregister the raw partition. Quit.
Uninstall the software ("dpkg --purge" should be enough?). Delete your whole
~/.VirtualBox directory. From the host operating system, zero the whole
partition:
dd if=/dev/zero of=/dev/sda6
Reboot. Re-install the software. Re-pass the same raw partition just like
above. Surprise! "you cannot get rid of this" is still here. And written back
to the partition as soon as you try to read it from the guest OS.
Amazing. Is this the expected behaviour?
Cheers,
Marc
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users