git.annexia.org
/
libguestfs-talks.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
6200, 6400: Use pushd/popd so we run ./restore in the right directory.
[libguestfs-talks.git]
/
2019-tech-introductions
/
4400-nbdsh-example.term
1
#!/bin/bash
2
3
source functions
4
5
# Title.
6
export title="nbdsh example"
7
8
# History.
9
remember 'nbdkit memory 1M'
10
remember "nbdsh --connect nbd://localhost -c 'print(h.get_size())'"
11
12
./restore
13
terminal