X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=2019-fosdem%2F5100-shell-next;fp=2019-fosdem%2F5100-shell-next;h=0d7b6bd4a305ffbf4528bd212bbe2369091a05ef;hb=cd302727c9696d147dc14e48e9757faea1f288d9;hp=0000000000000000000000000000000000000000;hpb=e46b70d72b4126cbfd077e191420e7dda13addbd;p=libguestfs-talks.git diff --git a/2019-fosdem/5100-shell-next b/2019-fosdem/5100-shell-next new file mode 100755 index 0000000..0d7b6bd --- /dev/null +++ b/2019-fosdem/5100-shell-next @@ -0,0 +1,18 @@ +#!/bin/bash - + +source functions + +# Title. +export title="Writing badblocks.sh" + +# History. +remember 'emacs badblocks.sh &' +remember 'nbdkit sh ./badblocks.sh' +remember 'sudo nbd-client -b 512 localhost /dev/nbd0' +remember 'sudo badblocks /dev/nbd0' + +./restore +pushd 5100-shell.d >/dev/null +cp badblocks.sh.template badblocks.sh +terminal +popd >/dev/null