On Fri, Jun 10, 2011 at 10:41 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
><br>
> Yes, I don't have udev running. Adding udev to the package list for building<br>
> the appliance seems not to be enough, as there's apparently nothing starting<br>
> it. What's the proper way to start udev in this situation?<br>
<br>
</div></div>Have a look at how libguestfs does it:<br>
<br>
<a href="http://git.annexia.org/?p=libguestfs.git;a=blob;f=appliance/init;hb=HEAD" target="_blank">http://git.annexia.org/?p=libguestfs.git;a=blob;f=appliance/init;hb=HEAD</a><br>
<br>
The rest of the code in the appliance/ subdirectory is useful<br>
to look at too.<br>
<div class="im"><br>
Rich.<br>
</div></blockquote></div><br>I started udev with /sbin/start_udev, as in the init script, but that seems to have no effect ("ps aux | grep udev" gives me no output.) If I start the guest with<br><br> qemu-kvm -kernel kernel -initrd initrd -hda root -device virtio-serial -serial stdio -chardev socket,path=/home/uckelman/projects/lightbox/supermin/foo,id=channel0 -device virtserialport,chardev=channel0,name=org.libguestfs.channel.0<br>
<br>what should I expect the device connected to the pipe on the guest side to be called?<br><br>