X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=README.developers;h=784504a2fb042be76d0701c5c87316018f02794a;hb=09eaf293724cc1ed6100f5a8a97cecf8cc007956;hp=8dd9561899379bd08dcc74adffc97578c8f05845;hpb=cc7a490c49e75e0c0b29098f212ed3c0f3f73612;p=virt-p2v.git diff --git a/README.developers b/README.developers index 8dd9561..784504a 100644 --- a/README.developers +++ b/README.developers @@ -35,6 +35,10 @@ virt-p2v.sh live CD has booted. All the P2V stuff happens from this script. It uses the 'dialog' program to ask questions. +inittab + + Replacement /etc/inittab. + General implementation plan ---------------------------------------------------------------------- @@ -59,7 +63,7 @@ for devices in /sys/block. For (b) we can simply use 'dd' and 'ssh'. The general plan is to do this: - dd if=/dev/disk | gzip | ssh xenhost 'cat > /var/lib/xen/images/disk.img' + dd if=/dev/disk | gzip | ssh xenhost 'zcat > /var/lib/xen/images/disk.img' If the user doesn't have sshd installed on the Xen host, then they can also opt for a pure TCP transport: @@ -67,7 +71,7 @@ also opt for a pure TCP transport: dd if=/dev/disk | gzip | nc xenhost port and on the remote host they do: - nc -l -p port > /var/lib/xen/images/disk.img + nc -kl port > /var/lib/xen/images/disks For (c) we can use device-mapper snapshots to mount a ramdisk above the disks themselves. This allows us to make non-destructive changes @@ -79,5 +83,5 @@ Non-generic virt-p2v The above describes the generic virt-p2v, which asks users questions after boot. It is also possible to build your own live CD, based on -virt-p2v which has various settings compiled in, so it runs -automatically. \ No newline at end of file +virt-p2v, which has various settings compiled in so it runs +automatically.