Include more labels on loop vs nbd diagram.
[libguestfs-talks.git] / 2019-fosdem / 3000-vmware.term
1 #!/bin/bash -
2
3 source functions
4
5 # Title.
6 export title="VMware (VDDK)"
7
8 # History.
9 remember 'ls'
10 remember 'LD_LIBRARY_PATH=~/tmp/vddk/vmware-vix-disklib-distrib/lib64 nbdkit vddk file=$PWD/mystery.vmdk'
11 remember 'ps ax | grep nbdkit'
12 remember 'sudo nbd-client -b 512 localhost /dev/nbd0'
13 remember 'ls -l /dev/nbd0*'
14 remember 'sudo mount /dev/nbd0p2 /tmp/mnt'
15 remember 'ls -l /tmp/mnt'
16
17 ./restore
18 pushd 3000-vmware.d >/dev/null
19 terminal
20 popd >/dev/null