/bindings
/history
/fastzero.d/src.qcow2
+/6200-vddk.d/fedora.vmdk
+/6200-vddk.d/fedora.vmdk.xz
+/6200-vddk.d/fedora.vmdk.lck
+/6200-vddk.d/mp
--- /dev/null
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<link rel="stylesheet" href="style.css" type="text/css"/>
+<script src="code.js" type="text/javascript"></script>
+
+<h1>Some fun things we can do with nbdkit</h1>
+
+<p>nbdkit is an <b>NBD server with plugins</b></p>
+
+<p>
+<a href="https://github.com/libguestfs/nbdkit">https://github.com/libguestfs/nbdkit</a>
+</p>
--- /dev/null
+/home/rjones/tmp/vddk/vmware-vix-disklib-distrib
\ No newline at end of file
--- /dev/null
+#!/bin/bash -
+
+source functions
+
+# Title.
+export title="VDDK"
+
+# History.
+remember 'LD_LIBRARY_PATH=vddk/lib64 nbdkit vddk file=$PWD/fedora.vmdk'
+remember 'nbdsh -u nbd://localhost'
+remember 'guestfish --ro --format=raw -a nbd://localhost -i'
+remember 'nbdfuse mp nbd://localhost &'
+remember 'ls -lh mp'
+remember 'hexdump -C mp/nbd | head -30'
+
+./restore
+cd 6200-vddk.d
+terminal
+./restore
--- /dev/null
+The aim here is to show some fun/weird/outlandish things we
+can do with nbdkit.
+
+* Heading: Isolate VDDK
+
+nbdkit vddk file=demo.vmdk
+Open it with:
+ guestfish
+ nbdsh
+ nbdfuse
+
+* Heading: Boot a busybox VM
+
+https://rwmj.wordpress.com/2019/02/19/nbdkit-linuxdisk-plugin/
+
+* Heading: Data disks
+
+https://rwmj.wordpress.com/2019/10/05/another-nbd-boot-sector-hack/
+
+* Heading: Reflection
+
+https://rwmj.wordpress.com/2019/09/13/nbdkit-supports-exportnames/
\ No newline at end of file
--- /dev/null
+#!/bin/bash -
+
+# Only do this on Rich's laptop.
+if [ "$LOGNAME" = "rjones" ]; then
+ fusermount -u $talkdir/6200-vddk.d/mp >& /dev/null
+ sleep 0.5
+ killall nbdkit >& /dev/null
+fi
+
+exit 0
#unset https_proxy
#unset ftp_proxy
-# If we need to precreate any files.
-# ...
+# Clean up after previous run.
+talkdir=$PWD ./restore
+
+# Precreate any files necessary.
+rm -rf 6200-vddk.d/mp
+mkdir 6200-vddk.d/mp
+#rm -f 6200-vddk.d/fedora.vmdk
+#unxz --keep 6200-vddk.d/fedora.vmdk.xz
# Run techtalk. The demos require nbdkit 1.14, libnbd 1.1.5, and qemu 4.2,
# which are not present in Fedora 30, so point to self-built versions.