git.annexia.org
/
virt-df.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa94093
)
Added some examples.
author
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2008 08:48:58 +0000
(09:48 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Sat, 26 Apr 2008 08:48:58 +0000
(09:48 +0100)
lib/diskimage.mli
patch
|
blob
|
history
diff --git
a/lib/diskimage.mli
b/lib/diskimage.mli
index
113c99b
..
e3a85b6
100644
(file)
--- a/
lib/diskimage.mli
+++ b/
lib/diskimage.mli
@@
-18,6
+18,17
@@
*)
(**
+ {2 Examples}
+
+{[
+ let machine = open_machine "host" ["hda", "/dev/hda"] in
+ let machine = scan_machine machine in
+ (* do what you want with the scan results ... *)
+ close_machine machine
+]}
+*)
+
+(**
{2 Machine/device model}
The "machine/device model" that we currently understand looks