Wow that's a great answer. Thank you to have taken the time to detail
thing. It's a lot clearer now.


> 1) You point (via umlsetup.sh) at the kernel source you want, it makes an 
> lndir
> link tree (%1) for the kernel, and compiles it.
I use the "O=<output directory>" switch to compile for different
architectures. You can then set different directories for binaries and
.config files. True you cannot patch as you want though.
I did not know "lndir", reminded me of a character in the lord of the
rings : http://lotr.wikia.com/wiki/E%C3%A4rendil ^^

> 2) You also point at the UML root tree you want to use.
> That's an extracted file system that lives on the host, not a COW or loopback
> file.  We suggest you put your UML file systems on the same disk as
> your reference root file system, as it can use hard links, which is way
> faster, and saves piles of disk space.
This is my main interrogation. Why going through the trouble of
creating a specific filesystem when there is already one working in
the host ? I would like in my init to "UML$mount none /mnt/host -t
hostfs" than "UML$chroot /mnt/host" (just discovered the switch_root
utility in busybox). I can see problems with /proc and /dev colliding
between my initramfs and my host drive. So maybe I could mount all
other folders but those from my host "/" into the UML machine ?
On top of that I don't see any incentive (at least in my case) to
switch_root from the initramfs to a root filesystem ?! (maybe I could
embed everything I need in the initramfs)

> At some point, hostfs grew caching, which is annoying, because it means that
> I have to rm /my/test/program from within the UML, each time before I can
> make DESTDIR= install it again from the host, or the file does not update. I
> wish I could turn that off.
I guess you refer to CONFIG_CLEANCACHE and CONFIG_FRONTSWAP. I've just
enabled them in reaction to your warning.


> 02 - this sucks in some variables that tells net.A.sh, if there is a
>    uml_netjig  (a version of uml_switch that knows how to play back pcap
>    files), running, or if one should use multicast sockets.
This looks like a custom version. I think I wil rely on tun/tap sytems
for networking since I want my VMs to interact with Internet.

Btw, unstrung looks like a nice project.

Once more thanks for having been through the trouble of explaining all
this. It helps a lot.

Best regards
MAtt

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
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