Teto <matta...@gmail.com> wrote:
    > My current technique is to boot the kernel to test with a custom initrd
    > that mounts the host filesystem, chroot to this mounted directory so
    > that I can use my host binaries (custom ip route binaries already
    > installed in my host etc...). I've seen no thread presenting this
    > though it's very practical so I was wondering if that violated some
    > rules (could harm host system for instance ?) or is it because it's not
    > how UML is meant to be used (it aims at isolating).

I have been doing this since 2001 :-)
I've tried to extract this system into a separate package, see:
https://github.com/mcr/uml-network-testing-infrastructure
(I've decided to call this "UNTI". I hacked a bunch of on the weekend,
let me push from my laptop)

    > I wondered if I could use my host drive as a root filesystem
    > (read-only, using a qcow2 file to save changes) to boot UML instead of
    > creating/downloading a filesystem ?

Yes, you could do this.
I use hostfs for /, and I just mount /usr/share from the host.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     m...@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


------------------------------------------------------------------------------
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